2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.assembly.builder.impl
Class ProblemImpl
java.lang.Object
org.apache.tuscany.sca.assembly.builder.impl.ProblemImpl
- All Implemented Interfaces:
- Problem
public class ProblemImpl
- extends java.lang.Object
- implements Problem
Reports a composite assembly problem.
Constructor Summary |
ProblemImpl(java.lang.String sourceClassName,
java.lang.String bundleName,
Problem.Severity severity,
java.lang.Object problemObject,
java.lang.String messageId,
java.lang.Exception cause)
Construct a new problem |
ProblemImpl(java.lang.String sourceClassName,
java.lang.String bundleName,
Problem.Severity severity,
java.lang.Object problemObject,
java.lang.String messageId,
java.lang.Object... messageParams)
Construct a new problem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProblemImpl
public ProblemImpl(java.lang.String sourceClassName,
java.lang.String bundleName,
Problem.Severity severity,
java.lang.Object problemObject,
java.lang.String messageId,
java.lang.Object... messageParams)
- Construct a new problem
- Parameters:
sourceClassName
- the class name reporting the problembundleName
- the name of the message bundle to useseverity
- the severity of the problemproblemObject
- the model object for which the problem is being reportedmessageId
- the id of the problem messagemessageParams
- the parameters of the problem message
ProblemImpl
public ProblemImpl(java.lang.String sourceClassName,
java.lang.String bundleName,
Problem.Severity severity,
java.lang.Object problemObject,
java.lang.String messageId,
java.lang.Exception cause)
- Construct a new problem
- Parameters:
sourceClassName
- the class name reporting the problembundleName
- the name of the message bundle to useseverity
- the severity of the problemproblemObject
- the model object for which the problem is being reportedmessageId
- the id of the problem messagecause
- the exception which caused the problem
getSourceClassName
public java.lang.String getSourceClassName()
- Specified by:
getSourceClassName
in interface Problem
getBundleName
public java.lang.String getBundleName()
- Specified by:
getBundleName
in interface Problem
getSeverity
public Problem.Severity getSeverity()
- Specified by:
getSeverity
in interface Problem
getProblemObject
public java.lang.Object getProblemObject()
- Specified by:
getProblemObject
in interface Problem
getMessageId
public java.lang.String getMessageId()
- Specified by:
getMessageId
in interface Problem
getMessageParams
public java.lang.Object[] getMessageParams()
- Specified by:
getMessageParams
in interface Problem
getCause
public java.lang.Exception getCause()
- Specified by:
getCause
in interface Problem
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object