public class AMClientCapException extends Exception implements L10NMessage
Constructor and Description |
---|
AMClientCapException(String msg)
Construct an exception with the specified msg
|
AMClientCapException(String rbName,
String eCode,
Object[] a)
Construct an exception with the specified msg
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Returns the error code
|
String |
getL10NMessage(Locale locale)
Returns the localized message for a given locale
|
String |
getMessage()
Returns a message
|
Object[] |
getMessageArgs()
Returns the message arguments array
|
String |
getResourceBundleName()
Returns the resource bundle name
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AMClientCapException(String msg)
msg
- message describing the errorpublic String getErrorCode()
getErrorCode
in interface L10NMessage
public String getResourceBundleName()
getResourceBundleName
in interface L10NMessage
public Object[] getMessageArgs()
getMessageArgs
in interface L10NMessage
public String getL10NMessage(Locale locale)
getL10NMessage
in interface L10NMessage
locale
- is the Localepublic String getMessage()
getMessage
in interface L10NMessage
getMessage
in class Throwable
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.