com.sun.xml.ws.policy.spi
Class AssertionCreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.xml.ws.policy.PolicyException
              extended by com.sun.xml.ws.policy.spi.AssertionCreationException
All Implemented Interfaces:
Serializable

public final class AssertionCreationException
extends PolicyException

Exception thrown in case of assertion creation failure.

Author:
Marek Potociar
See Also:
Serialized Form

Constructor Summary
AssertionCreationException(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
 AssertionData getAssertionData()
          Retrieves assertion data associated with the exception.
 
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

AssertionCreationException

public AssertionCreationException(AssertionData assertionData,
                                  String message)
Constructs a new assertion creation exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
assertionData - the data provided for assertion creation
message - the detail message.

AssertionCreationException

public AssertionCreationException(AssertionData assertionData,
                                  String message,
                                  Throwable cause)
Constructs a new assertion creation exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.

Parameters:
assertionData - the data provided for assertion creation
message - the detail message.
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

AssertionCreationException

public AssertionCreationException(AssertionData assertionData,
                                  Throwable cause)
Constructs a new assertion creation exception with the specified detail message and cause.

Parameters:
assertionData - the data provided for assertion creation
cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getAssertionData

public AssertionData getAssertionData()
Retrieves assertion data associated with the exception.

Returns:
associated assertion data (present when assertion creation failed raising this exception).


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.