|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.iplanet.am.sdk.AMException
The AMException
is thrown whenever an error is
is encountered while performing an operation on the data store.
Constructor Summary | |
AMException(java.lang.String msg,
java.lang.String errorCode)
Constructs a new AMException with detailed message. |
|
AMException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args)
Constructs a new AMException with detailed message. |
|
AMException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args,
com.iplanet.ums.UMSException ue)
Constructs a new AMException with detailed message. |
|
AMException(java.lang.String msg,
java.lang.String errorCode,
com.iplanet.ums.UMSException ue)
Constructs a new AMException with detailed message. |
Method Summary | |
java.lang.String |
getErrorCode()
Method to obtain the error code. |
java.lang.String |
getLDAPErrorCode()
Method to obtain the LDAP error code. |
java.lang.String |
getMessage()
Overriding the default getMessage() method of super class Exception |
java.lang.Object[] |
getMessageArgs()
Method to obtain the arguments corresponding to the error code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AMException(java.lang.String msg, java.lang.String errorCode)
msg
- The detailed messageerroCode
- Matches the appropriate entry in amProfile.propertiespublic AMException(java.lang.String msg, java.lang.String errorCode, com.iplanet.ums.UMSException ue)
msg
- The detailed messageerroCode
- Matches the appropriate entry in amProfile.propertiesUMSException
- - if the rootCasue is a UMSExceptionpublic AMException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args)
msg
- The detailed messageerroCode
- Matches the appropriate entry in amProfile.propertiesObject[]
- args, if the error message needs specific values to be setpublic AMException(java.lang.String msg, java.lang.String errorCode, java.lang.Object[] args, com.iplanet.ums.UMSException ue)
msg
- The detailed messageerroCode
- Matches the appropriate entry in amProfile.propertiesObject[]
- args, if the error message needs specific values to be setUMSException
- - if the rootCasue is a UMSExceptionMethod Detail |
public java.lang.String getErrorCode()
public java.lang.Object[] getMessageArgs()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String getLDAPErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |