|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.openwings.policy.PolicyException
This class defines an exception specific to policies. This exception may be used to encapsulate another exception generated during policy operations.
| Constructor Summary | |
PolicyException()
Constructs a PolicyException with no specified
detail message. |
|
PolicyException(java.lang.Exception e,
java.lang.String message)
Constructs a new PolicyException. |
|
PolicyException(java.lang.String message)
Constructs a PolicyException with the specified
detail message. |
|
| Method Summary | |
java.lang.Exception |
getEmbeddedException()
Get the Exception that triggered this exception. |
java.lang.String |
getMessage()
Returns the error message string of this throwable object. |
void |
printStackTrace()
Prints this Throwable and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintStream s)
Prints this Throwable and its backtrace to the standard error stream. |
void |
printStackTrace(java.io.PrintWriter s)
Prints this Throwable and its backtrace to the standard error stream. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PolicyException()
PolicyException with no specified
detail message.
public PolicyException(java.lang.String message)
PolicyException with the specified
detail message.
message - the detail message
public PolicyException(java.lang.Exception e,
java.lang.String message)
PolicyException.
e - The Exception that triggered this exception.
May be null.message - The text message to be associated with this exception.| Method Detail |
public java.lang.Exception getEmbeddedException()
Exception that triggered this exception.
Exception that triggered this exception.
May be null.public java.lang.String getMessage()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
s - PrintStream to use for outputpublic void printStackTrace(java.io.PrintWriter s)
s - PrintWriter to use for output
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||