Package com.sun.xml.ws.policy.spi
Class AssertionCreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.xml.ws.policy.PolicyException
com.sun.xml.ws.policy.spi.AssertionCreationException
- All Implemented Interfaces:
Serializable
Exception thrown in case of assertion creation failure.
- Author:
- Marek Potociar
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAssertionCreationException(AssertionData assertionData, String message) Constructs a new assertion creation exception with the specified detail message and cause.AssertionCreationException(AssertionData assertionData, String message, Throwable cause) Constructs a new assertion creation exception with the specified detail message and cause.AssertionCreationException(AssertionData assertionData, Throwable cause) Constructs a new assertion creation exception with the specified detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves assertion data associated with the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AssertionCreationException
Constructs a new assertion creation exception with the specified detail message and cause.
Note that the detail message associated withcauseis not automatically incorporated in this exception's detail message.- Parameters:
assertionData- the data provided for assertion creationmessage- the detail message.
-
AssertionCreationException
Constructs a new assertion creation exception with the specified detail message and cause.
Note that the detail message associated withcauseis not automatically incorporated in this exception's detail message.- Parameters:
assertionData- the data provided for assertion creationmessage- the detail message.cause- the cause. (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
AssertionCreationException
Constructs a new assertion creation exception with the specified detail message and cause.- Parameters:
assertionData- the data provided for assertion creationcause- the cause. (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-
Method Details
-
getAssertionData
Retrieves assertion data associated with the exception.- Returns:
- associated assertion data (present when assertion creation failed raising this exception).
-