|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | 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. |
|
| Method Summary | |
java.lang.String |
getErrorCode()
Returns the error code. |
java.lang.String |
getLDAPErrorCode()
Method to obtain the LDAP error code. |
netscape.ldap.LDAPException |
getLDAPException()
Returns the root LDAPException of this
AMException, if any. |
java.lang.String |
getMessage()
Overrides the default getMessage() method of super class
Exception. |
java.lang.Object[] |
getMessageArgs()
Returns the arguments corresponding to the error code. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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)
AMException with detailed message.
msg - The detailed message
public AMException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] args)
AMException with detailed message.
msg - The detailed message.errorCode - Matches the appropriate entry in
amProfile.properties.args - arguments if the error message needs specific values to be
set.| Method Detail |
public java.lang.String getErrorCode()
public java.lang.Object[] getMessageArgs()
public java.lang.String getMessage()
getMessage() method of super class
Exception.
getMessage in class java.lang.Throwablepublic java.lang.String getLDAPErrorCode()
public netscape.ldap.LDAPException getLDAPException()
LDAPException of this
AMException, if any.
LDAPException that caused this
AMException. If null, it means no root
LDAPException has been set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||