org.opensaml
Class UnsupportedExtensionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opensaml.SAMLException
              extended byorg.opensaml.UnsupportedExtensionException
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class UnsupportedExtensionException
extends SAMLException
implements java.lang.Cloneable

Indicates that a message contained information requiring extension code that has not been registered with the SAML runtime.

Author:
Scott Cantor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opensaml.SAMLException
codes, config, e, log, msg, REQUESTER, RESPONDER, root, SUCCESS, VERSION
 
Constructor Summary
  UnsupportedExtensionException(java.util.Collection codes, java.lang.Exception e)
          Creates a new UnsupportedExtensionException wrapping an existing exception
  UnsupportedExtensionException(java.util.Collection codes, java.lang.String msg)
          Creates a new UnsupportedExtensionException
  UnsupportedExtensionException(java.util.Collection codes, java.lang.String msg, java.lang.Exception e)
          Creates a new UnsupportedExtensionException from an existing exception.
protected UnsupportedExtensionException(org.w3c.dom.Element e)
          Creates a new UnsupportedExtensionException
  UnsupportedExtensionException(QName code, java.lang.Exception e)
          Creates a new UnsupportedExtensionException wrapping an existing exception
  UnsupportedExtensionException(QName code, java.lang.String msg)
          Creates a new UnsupportedExtensionException
  UnsupportedExtensionException(QName code, java.lang.String msg, java.lang.Exception e)
          Creates a new UnsupportedExtensionException from an existing exception.
  UnsupportedExtensionException(java.lang.String msg)
          Creates a new UnsupportedExtensionException
  UnsupportedExtensionException(java.lang.String msg, java.lang.Exception e)
          Creates a new UnsupportedExtensionException
 
Methods inherited from class org.opensaml.SAMLException
clone, fromDOM, getCodes, getException, getInstance, getInstance, getMessage, toDOM, toDOM, toDOM, toDOM, toStream, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedExtensionException

protected UnsupportedExtensionException(org.w3c.dom.Element e)
                                 throws SAMLException
Creates a new UnsupportedExtensionException

Parameters:
e - The root of a DOM tree
Throws:
SAMLException - Raised if an exception occurs while constructing the object.

UnsupportedExtensionException

public UnsupportedExtensionException(java.lang.String msg)
Creates a new UnsupportedExtensionException

Parameters:
msg - The detail message

UnsupportedExtensionException

public UnsupportedExtensionException(java.lang.String msg,
                                     java.lang.Exception e)
Creates a new UnsupportedExtensionException

Parameters:
msg - The detail message
e - The exception to be wrapped in a UnsupportedExtensionException

UnsupportedExtensionException

public UnsupportedExtensionException(java.util.Collection codes,
                                     java.lang.String msg)
Creates a new UnsupportedExtensionException

Parameters:
codes - A collection of QNames
msg - The detail message

UnsupportedExtensionException

public UnsupportedExtensionException(java.util.Collection codes,
                                     java.lang.Exception e)
Creates a new UnsupportedExtensionException wrapping an existing exception

The existing exception will be embedded in the new one, and its message will become the default message for the UnsupportedExtensionException.

Parameters:
codes - A collection of QNames
e - The exception to be wrapped in a UnsupportedExtensionException

UnsupportedExtensionException

public UnsupportedExtensionException(java.util.Collection codes,
                                     java.lang.String msg,
                                     java.lang.Exception e)
Creates a new UnsupportedExtensionException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Parameters:
codes - A collection of QNames
msg - The detail message
e - The exception to be wrapped in a UnsupportedExtensionException

UnsupportedExtensionException

public UnsupportedExtensionException(QName code,
                                     java.lang.String msg)
Creates a new UnsupportedExtensionException

Parameters:
code - A status code
msg - The detail message

UnsupportedExtensionException

public UnsupportedExtensionException(QName code,
                                     java.lang.Exception e)
Creates a new UnsupportedExtensionException wrapping an existing exception

The existing exception will be embedded in the new one, and its message will become the default message for the UnsupportedExtensionException.

Parameters:
code - A status code
e - The exception to be wrapped in a UnsupportedExtensionException

UnsupportedExtensionException

public UnsupportedExtensionException(QName code,
                                     java.lang.String msg,
                                     java.lang.Exception e)
Creates a new UnsupportedExtensionException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Parameters:
code - A status code
msg - The detail message
e - The exception to be wrapped in a UnsupportedExtensionException


Copyright ? 2002 UCAID. All Rights Reserved.