public class EACLsException extends EBaseException
mParams
Constructor and Description |
---|
EACLsException(java.lang.String msgFormat)
Constructs an acls exception.
|
EACLsException(java.lang.String msgFormat,
java.lang.Exception param)
Constructs a base exception.
|
EACLsException(java.lang.String msgFormat,
java.lang.Object[] params)
Constructs a base exception with a list of parameters
that will be substituted into the message format.
|
EACLsException(java.lang.String msgFormat,
java.lang.String param)
Constructs a base exception with a parameter.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getBundleName()
Return the class name of the resource bundle.
|
java.lang.Object[] |
getParameters()
Returns a list of parameters.
|
java.lang.String |
toString()
String representation for the corresponding exception.
|
java.lang.String |
toString(java.util.Locale locale)
Returns string representation for the corresponding exception.
|
public EACLsException(java.lang.String msgFormat)
msgFormat
- exception detailspublic EACLsException(java.lang.String msgFormat, java.lang.String param)
new EACLsException("failed to load {0}", fileName);
msgFormat
- exception details in message string formatparam
- message string parameterpublic EACLsException(java.lang.String msgFormat, java.lang.Exception param)
try { ... } catch (IOExeption e) { throw new EACLsException("Encountered System Error {0}", e); }
msgFormat
- exception details in message string formatparam
- system exceptionpublic EACLsException(java.lang.String msgFormat, java.lang.Object[] params)
msgFormat
- exception details in message string formatparams
- list of message format parameterspublic java.lang.Object[] getParameters()
getParameters
in class EBaseException
public java.lang.String toString()
toString
in class EBaseException
public java.lang.String toString(java.util.Locale locale)
toString
in class EBaseException
locale
- client specified locale for string representation.protected java.lang.String getBundleName()
getBundleName
in class EBaseException