|
||||||||||
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.acls.EACLsException
public class EACLsException
A class represents an acls exception. Note that this is an Runtime exception so that methods used AccessManager do not have to explicity declare this exception. This allows AccessManager to be easily integrated into any existing code.
Field Summary |
---|
Fields inherited from class com.netscape.certsrv.base.EBaseException |
---|
mParams |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
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 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 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
- client specified locale for string representation.
protected java.lang.String getBundleName()
getBundleName
in class EBaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |