com.ibm.wsspi.wssecurity

Class SoapSecurityException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.wsspi.wssecurity.SoapSecurityException
All implemented interfaces:
java.io.Serializable
Direct known subclasses:
KeyLocatorException, TrustedIDEvaluatorException

  1. public class SoapSecurityException
  2. extends java.lang.Exception
Represents an exception while processing WS-Security.
See Also:
Serialized Form

Constructor Summary

Constructor and Description
SoapSecurityException()
Creates a SoapSecurityException.
SoapSecurityException(javax.xml.namespace.QName fault,java.lang.String message)
Creates a SoapSecurityException.
SoapSecurityException(javax.xml.namespace.QName fault,java.lang.String message,java.lang.Throwable cause)
Creates a SoapSecurityException.
SoapSecurityException(java.lang.String message)
Creates a SoapSecurityException.
SoapSecurityException(java.lang.String message,java.lang.Throwable cause)
Creates a SoapSecurityException.
SoapSecurityException(java.lang.Throwable cause)
Creates a SoapSecurityException.

Method Summary

Modifier and Type Method and Description
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,org.w3c.dom.Document doc)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.String arg1)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.String[] args)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.String[] args,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.String arg1,java.lang.String arg2)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.String arg1,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(javax.xml.namespace.QName fault,java.lang.String key,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String arg1)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String[] args)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String[] args,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String arg1,java.lang.String arg2)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3,java.lang.String arg4,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String arg1,java.lang.String arg2,java.lang.String arg3,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.String arg1,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. static
  2. SoapSecurityException
format(java.lang.String key,java.lang.Throwable cause)
Creates a SoapSecurityException.
  1. java.lang.Throwable
getCauseException()
Returns a root exception.
  1. javax.xml.namespace.QName
getFaultCode()
Returns a SOAP faultcode.
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

SoapSecurityException

  1. public SoapSecurityException()
Creates a SoapSecurityException.

SoapSecurityException

  1. public SoapSecurityException(java.lang.String message)
Creates a SoapSecurityException.
Parameters:
message - A message.

SoapSecurityException

  1. public SoapSecurityException(javax.xml.namespace.QName fault,
  2. java.lang.String message)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
message - A message.

SoapSecurityException

  1. public SoapSecurityException(javax.xml.namespace.QName fault,
  2. java.lang.String message,
  3. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
message - A message.
cause - The orginal exception

SoapSecurityException

  1. public SoapSecurityException(java.lang.String message,
  2. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
message - A message.
cause - A root exception.

SoapSecurityException

  1. public SoapSecurityException(java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
cause - A root exception.

Method Detail

format

  1. public static SoapSecurityException format( java.lang.String key)
Creates a SoapSecurityException.
Parameters:
key - A resource key for the error message.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
cause - A root exception.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String arg1)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
arg1 - A parameter for the message resource.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String arg1,
  3. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
arg1 - A parameter for the message resource.
cause - A root exception.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String[] args)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
args - Parameters for the message resource.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String[] args,
  3. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
args - Parameters for the message resource.
cause - A root exception.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
cause - A root exception.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.String arg1)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
arg1 - A parameter for the message resource.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.String arg1,
  4. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
arg1 - A parameter for the message resource.
cause - A root exception.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.String[] args)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
args - An array which contains the parameters for the message resource.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.String[] args,
  4. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
args - An array which contains the parameters for the message resource.
cause - A root exception.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String arg1,
  3. java.lang.String arg2)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
arg1 - First parameter for the message resource.
arg2 - Second parameter for the message resource.

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String arg1,
  3. java.lang.String arg2,
  4. java.lang.String arg3,
  5. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
arg1 - First parameter for the message resource.
arg2 - Second parameter for the message resource.
arg3 - Third parameter for the message resource.
cause - A root exception

format

  1. public static SoapSecurityException format( java.lang.String key,
  2. java.lang.String arg1,
  3. java.lang.String arg2,
  4. java.lang.String arg3,
  5. java.lang.String arg4,
  6. java.lang.Throwable cause)
Creates a SoapSecurityException.
Parameters:
key - Resource key for the error message.
arg1 - First parameter for the message resource.
arg2 - Second parameter for the message resource.
arg3 - Third parameter for the message resource.
arg4 - Fourth parameter for the message resource.
cause - A root exception.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. java.lang.String arg1,
  4. java.lang.String arg2)
Creates a SoapSecurityException.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
arg1 - First parameter for the message resource.
arg2 - Second parameter for the message resource.

format

  1. public static SoapSecurityException format( javax.xml.namespace.QName fault,
  2. java.lang.String key,
  3. org.w3c.dom.Document doc)
Creates a SoapSecurityException. If the given DOM represents a SOAP fault (that is, a fault is occurred in processing a fault response message), appends the original fault message.
Parameters:
fault - A QName object which represents SOAP faultcode.
key - Resource key for the error message.
doc - A DOM of the received message.

getCauseException

  1. public java.lang.Throwable getCauseException( )
Returns a root exception.
Returns:
A root exception.

getFaultCode

  1. public javax.xml.namespace.QName getFaultCode( )
Returns a SOAP faultcode.
Returns:
A SOAP faultcode.