com.sun.xml.wss.impl
Class SecurityHeaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.xml.wss.XWSSecurityException
              extended by com.sun.xml.wss.impl.SecurityHeaderException
All Implemented Interfaces:
Serializable

public class SecurityHeaderException
extends XWSSecurityException

A SecurityHeaderException indicates that there is a problem with the security header elements and subelements. It indicates that there is an error in the input message to a MessageFilter. For example, a ds:keyInfo element may not contain a reference to a security token. If such a reference is missing, then to indicate this problem, an instance of this Exception would be thrown.

This is as opposed to a problem with processing the message itself. An example would be a MessageFilter that needs to look up data in a database that is not currently available. A XWSSecurityException would be thrown in the latter case.

Author:
Edwin Goei, Manveen Kaur
See Also:
Serialized Form

Constructor Summary
SecurityHeaderException(String message)
           
SecurityHeaderException(String message, Throwable cause)
           
SecurityHeaderException(Throwable cause)
           
 
Method Summary
 
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

SecurityHeaderException

public SecurityHeaderException(String message)

SecurityHeaderException

public SecurityHeaderException(String message,
                               Throwable cause)

SecurityHeaderException

public SecurityHeaderException(Throwable cause)


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