Module com.sun.xml.messaging.saaj
Package com.sun.xml.messaging.saaj.soap
Class SOAPVersionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.xml.soap.SOAPException
com.sun.xml.messaging.saaj.SOAPExceptionImpl
com.sun.xml.messaging.saaj.soap.SOAPVersionMismatchException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs aSOAPExceptionImpl
object with no reason or embeddedThrowable
object.SOAPVersionMismatchException
(String reason) Constructs aSOAPExceptionImpl
object with the givenString
as the reason for the exception being thrown.SOAPVersionMismatchException
(String reason, Throwable cause) Constructs aSOAPExceptionImpl
object with the givenString
as the reason for the exception being thrown and the givenThrowable
object as an embedded exception.Constructs aSOAPExceptionImpl
object initialized with the givenThrowable
object. -
Method Summary
Methods inherited from class com.sun.xml.messaging.saaj.SOAPExceptionImpl
getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace, toString
-
Constructor Details
-
SOAPVersionMismatchException
public SOAPVersionMismatchException()Constructs aSOAPExceptionImpl
object with no reason or embeddedThrowable
object. -
SOAPVersionMismatchException
Constructs aSOAPExceptionImpl
object with the givenString
as the reason for the exception being thrown.- Parameters:
reason
- a description of what caused the exception
-
SOAPVersionMismatchException
Constructs aSOAPExceptionImpl
object with the givenString
as the reason for the exception being thrown and the givenThrowable
object as an embedded exception.- Parameters:
reason
- a description of what caused the exceptioncause
- aThrowable
object that is to be embedded in thisSOAPExceptionImpl
object
-
SOAPVersionMismatchException
Constructs aSOAPExceptionImpl
object initialized with the givenThrowable
object.- Parameters:
cause
- aThrowable
object that is to be embedded in thisSOAPExceptionImpl
object
-