public class EPolicyException extends EBaseException
NOTE: The Policy Framework has been replaced by the Profile Framework.
MessageFormat
,
Serialized FormmParams
Constructor and Description |
---|
EPolicyException(java.lang.String msgFormat)
Deprecated.
Constructs a base exception.
|
EPolicyException(java.lang.String msgFormat,
java.lang.Exception param)
Deprecated.
Constructs a base exception.
|
EPolicyException(java.lang.String msgFormat,
java.lang.Object[] params)
Deprecated.
Constructs a base exception with a list of parameters
that will be substituted into the message format.
|
EPolicyException(java.lang.String msgFormat,
java.lang.String param)
Deprecated.
Constructs a base exception with a parameter.
|
EPolicyException(java.lang.String msgFormat,
java.lang.String param1,
java.lang.String param2)
Deprecated.
Constructs a base exception with two String parameters.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getBundleName()
Deprecated.
Returns the given resource bundle name.
|
java.lang.Object[] |
getParameters()
Deprecated.
Returns a list of parameters.
|
java.lang.String |
toString()
Deprecated.
Returns localized exception string.
|
java.lang.String |
toString(java.util.Locale locale)
Deprecated.
Returns the string based on the given locale.
|
public EPolicyException(java.lang.String msgFormat)
msgFormat
- exception detailspublic EPolicyException(java.lang.String msgFormat, java.lang.String param)
new EPolicyException("failed to load {0}", fileName);
msgFormat
- exception details in message string formatparam
- message string parameterpublic EPolicyException(java.lang.String msgFormat, java.lang.String param1, java.lang.String param2)
msgFormat
- exception details in message string formatparam1
- message string parameterparam2
- message string parameterpublic EPolicyException(java.lang.String msgFormat, java.lang.Exception param)
try { ... } catch (IOExeption e) { throw new EPolicyException("Encountered System Error {0}", e); }
msgFormat
- exception details in message string formatparam
- system exceptionpublic EPolicyException(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
- localeprotected java.lang.String getBundleName()
EBaseException
getBundleName
in class EBaseException