|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
ibi.broker.api.data.CasterException
public class CasterException
CasterException
is a generic exception class, which
encapsulates the majority of error conditions that can occur within ReportCaster. This
exception class extends Java's Resource Exception
, which is the root
interface of the exception hierarchy defined for the Java Connector Architecture (JCA).
Constructor Summary | |
---|---|
CasterException(java.lang.String message)
|
|
CasterException(java.lang.String errorCode,
java.lang.String message)
|
|
CasterException(java.lang.String errorCode,
java.lang.String message,
java.lang.Object[] argumentList)
|
|
CasterException(java.lang.String errorCode,
java.lang.String message,
java.lang.String propertyName)
|
|
CasterException(java.lang.String errorCode,
java.lang.String message,
java.lang.Throwable nestedThrowable)
|
Method Summary | |
---|---|
java.lang.Object[] |
getArgumentList()
|
java.lang.String |
getErrorCode()
Obtains the error code for this CasterException. |
java.lang.String |
getMessage()
Obtains the message text which describes this CasterException. |
java.lang.Throwable |
getNestedThrowable()
Obtains the error that was the ultimate cause of this CasterException. |
java.lang.String |
getPropertyName()
Obtains the name of the property associated with the class in which this CasterException was thrown. |
void |
setArgumentList(java.lang.Object[] argumentList)
|
java.lang.String |
toString()
Obtains the string concatenation of the error code and the error message thrown by this CasterException. |
Methods inherited from class javax.resource.ResourceException |
---|
getLinkedException, setErrorCode, setLinkedException |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CasterException(java.lang.String message)
public CasterException(java.lang.String errorCode, java.lang.String message)
public CasterException(java.lang.String errorCode, java.lang.String message, java.lang.String propertyName)
public CasterException(java.lang.String errorCode, java.lang.String message, java.lang.Object[] argumentList)
public CasterException(java.lang.String errorCode, java.lang.String message, java.lang.Throwable nestedThrowable)
Method Detail |
---|
public java.lang.String getErrorCode()
getErrorCode
in class javax.resource.ResourceException
errorCode
as a String.public java.lang.String getMessage()
getMessage
in class javax.resource.ResourceException
public java.lang.Throwable getNestedThrowable()
null
if there is no nested Throwable. (i.e., this is the
originating exception).
Throwable
object that is the originating error.public java.lang.String getPropertyName()
propertyName
as a String.public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.Object[] getArgumentList()
public void setArgumentList(java.lang.Object[] argumentList)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |