public class TopLevelPolicyException extends Exception
| Constructor and Description |
|---|
TopLevelPolicyException(Status status)
Constructs a new
TopLevelPolicyException with no message
or cause. |
TopLevelPolicyException(Status status,
String message)
Constructs a new
TopLevelPolicyException with a message,
but no cause. |
TopLevelPolicyException(Status status,
String message,
Throwable cause)
Constructs a new
TopLevelPolicyException with a message
and a cause. |
TopLevelPolicyException(Status status,
Throwable cause)
Constructs a new
TopLevelPolicyException with a cause,
but no message. |
| Modifier and Type | Method and Description |
|---|---|
Status |
getStatus()
Returns the status information associated with this error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TopLevelPolicyException(Status status)
TopLevelPolicyException with no message
or cause.status - the Status associated with this errorpublic TopLevelPolicyException(Status status, String message)
TopLevelPolicyException with a message,
but no cause. The message is saved for later retrieval by the
Throwable.getMessage()
method.status - the Status associated with this errormessage - the detail message (null if nonexistent
or unknown)public TopLevelPolicyException(Status status, Throwable cause)
TopLevelPolicyException with a cause,
but no message. The cause is saved for later retrieval by the
Throwable.getCause()
method.status - the Status associated with this errorcause - the cause (null if nonexistent
or unknown)public TopLevelPolicyException(Status status, String message, Throwable cause)
TopLevelPolicyException with a message
and a cause. The message and cause are saved for later retrieval
by the
Throwable.getMessage() and
Throwable.getCause()
methods.status - the Status associated with this errormessage - the detail message (null if nonexistent
or unknown)cause - the cause (null if nonexistent
or unknown)public Status getStatus()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.