public class PolicyException
extends java.lang.Exception
Constructor and Description |
---|
PolicyException()
Constructs new
PolicyException object. |
PolicyException(java.util.List<AssertionResult> assertionResults,
java.lang.Throwable arg1)
Constructs a new
PolicyException with the specified detail message and cause. |
PolicyException(java.lang.String arg0)
Constructs a new
PolicyException with the specified detail message |
PolicyException(java.lang.String arg0,
java.lang.Throwable arg1)
Constructs a new
PolicyException with the specified detail message and cause. |
PolicyException(java.lang.Throwable arg0)
Constructs a new
PolicyException with the specified cause. |
Modifier and Type | Method and Description |
---|---|
java.util.List<AssertionResult> |
getAssertionResults()
Returns the collection of messages as
AssertionResult objects. |
void |
setAssertionResults(java.util.List<AssertionResult> assertionResults)
Sets the collection of assertion results.
|
public PolicyException()
PolicyException
object.public PolicyException(java.lang.String arg0, java.lang.Throwable arg1)
PolicyException
with the specified detail message and cause.arg0
- the detail message (which is saved for later retrieval by the Throwable.getMessage() method).arg1
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)public PolicyException(java.util.List<AssertionResult> assertionResults, java.lang.Throwable arg1)
PolicyException
with the specified detail message and cause.assertionResults
- the collection of messages as AssertionResult
arg1
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)public PolicyException(java.lang.String arg0)
PolicyException
with the specified detail messagearg0
- the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.public PolicyException(java.lang.Throwable arg0)
PolicyException
with the specified cause.arg0
- the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)public java.util.List<AssertionResult> getAssertionResults()
AssertionResult
objects.AssertionResult
objects.public void setAssertionResults(java.util.List<AssertionResult> assertionResults)
assertionResults
- the collection of assertion result objects.