JBoss port of sunxacml 2.0.8.Final-redhat-1

org.jboss.security.xacml.sunxacml.support.finder
Class TopLevelPolicyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.security.xacml.sunxacml.support.finder.TopLevelPolicyException
All Implemented Interfaces:
Serializable

public class TopLevelPolicyException
extends Exception

This is an exception thrown by the support code when there's an error trying to resolve a top-level policy

Since:
2.0
Author:
Seth Proctor
See Also:
Serialized Form

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

TopLevelPolicyException

public TopLevelPolicyException(Status status)
Constructs a new TopLevelPolicyException with no message or cause.

Parameters:
status - the Status associated with this error

TopLevelPolicyException

public TopLevelPolicyException(Status status,
                               String message)
Constructs a new TopLevelPolicyException with a message, but no cause. The message is saved for later retrieval by the Throwable.getMessage() method.

Parameters:
status - the Status associated with this error
message - the detail message (null if nonexistent or unknown)

TopLevelPolicyException

public TopLevelPolicyException(Status status,
                               Throwable cause)
Constructs a new TopLevelPolicyException with a cause, but no message. The cause is saved for later retrieval by the Throwable.getCause() method.

Parameters:
status - the Status associated with this error
cause - the cause (null if nonexistent or unknown)

TopLevelPolicyException

public TopLevelPolicyException(Status status,
                               String message,
                               Throwable cause)
Constructs a new TopLevelPolicyException with a message and a cause. The message and cause are saved for later retrieval by the Throwable.getMessage() and Throwable.getCause() methods.

Parameters:
status - the Status associated with this error
message - the detail message (null if nonexistent or unknown)
cause - the cause (null if nonexistent or unknown)
Method Detail

getStatus

public Status getStatus()
Returns the status information associated with this error.

Returns:
associated status

JBoss port of sunxacml 2.0.8.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.