An exception that signals that a SOAP exception has occurred. A
SOAPExceptionImpl
object may contain a
String
that gives the reason for the exception, an embedded
Throwable
object, or both. This class provides methods for retrieving reason messages and for retrieving the embedded
Throwable
object.
Typical reasons for throwing a SOAPExceptionImpl
object are problems such as difficulty setting a header, not being able to send a message, and not being able to get a connection with the provider. Reasons for embedding a Throwable
object include problems such as input/output errors or a parsing problem, such as an error in parsing a header.