Class AMClientCapException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.iplanet.services.cdm.clientschema.AMClientCapException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class AMClientCapException extends Exception implements L10NMessage
AMClientCapException: (critical) Thrown to indicate that the Attribute Abstraction layer could not establish a connection with the backend service provider (DSAME) OR the abstraction layer could not instantiate the actual implementation objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AMClientCapException(String msg)Construct an exception with the specified msgAMClientCapException(String rbName, String eCode, Object[] a)Construct an exception with the specified msg
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Returns the error codeStringgetL10NMessage(Locale locale)Returns the localized message for a given localeStringgetMessage()Returns a messageObject[]getMessageArgs()Returns the message arguments arrayStringgetResourceBundleName()Returns the resource bundle name-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AMClientCapException
public AMClientCapException(String msg)
Construct an exception with the specified msg- Parameters:
msg- message describing the error
-
-
Method Detail
-
getErrorCode
public String getErrorCode()
Returns the error code- Specified by:
getErrorCodein interfaceL10NMessage- Returns:
- a String
-
getResourceBundleName
public String getResourceBundleName()
Returns the resource bundle name- Specified by:
getResourceBundleNamein interfaceL10NMessage- Returns:
- a String
-
getMessageArgs
public Object[] getMessageArgs()
Returns the message arguments array- Specified by:
getMessageArgsin interfaceL10NMessage- Returns:
- an Array of message arguments.
-
getL10NMessage
public String getL10NMessage(Locale locale)
Returns the localized message for a given locale- Specified by:
getL10NMessagein interfaceL10NMessage- Parameters:
locale- is the Locale- Returns:
- a String which is the localized message
-
getMessage
public String getMessage()
Returns a message- Specified by:
getMessagein interfaceL10NMessage- Overrides:
getMessagein classThrowable- Returns:
- a String
-
-