|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jboss.security.xacml.sunxacml.support.finder.TopLevelPolicyException
public class TopLevelPolicyException
This is an exception thrown by the support code when there's an error trying to resolve a top-level policy
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Status |
getStatus()
Returns the status information associated with this error. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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)Method Detail |
---|
public Status getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |