|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.netscape.certsrv.base.EBaseException
com.netscape.certsrv.policy.EPolicyException
public class EPolicyException
This class represents Exceptions used by the policy package. The policies themselves do not raise exceptions but use them to format error messages. Adapted from EBasException
NOTE: The Policy Framework has been replaced by the Profile Framework.
MessageFormat
,
Serialized FormField Summary |
---|
Fields inherited from class com.netscape.certsrv.base.EBaseException |
---|
mParams |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 parametersMethod Detail |
---|
public 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
- locale
protected java.lang.String getBundleName()
EBaseException
getBundleName
in class EBaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |