org.opensaml
Class UnsupportedProfileException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensaml.SAMLException
              extended by org.opensaml.ProfileException
                  extended by org.opensaml.FatalProfileException
                      extended by org.opensaml.UnsupportedProfileException
All Implemented Interfaces:
Serializable, Cloneable

public class UnsupportedProfileException
extends FatalProfileException
implements Cloneable

Indicates that use of a SAML profile was attempted but is not supported by the SAML application.

Author:
Scott Cantor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opensaml.SAMLException
codes, config, e, log, msg, parentObject, REQUESTER, RESPONDER, root, SUCCESS, VERSION
 
Constructor Summary
  UnsupportedProfileException(Collection codes, Exception e)
          Creates a new UnsupportedProfileException wrapping an existing exception
  UnsupportedProfileException(Collection codes, String msg)
          Creates a new UnsupportedProfileException
  UnsupportedProfileException(Collection codes, String msg, Exception e)
          Creates a new UnsupportedProfileException from an existing exception.
protected UnsupportedProfileException(Element e)
          Creates a new UnsupportedProfileException
  UnsupportedProfileException(javax.xml.namespace.QName code, Exception e)
          Creates a new UnsupportedProfileException wrapping an existing exception
  UnsupportedProfileException(javax.xml.namespace.QName code, String msg)
          Creates a new UnsupportedProfileException
  UnsupportedProfileException(javax.xml.namespace.QName code, String msg, Exception e)
          Creates a new UnsupportedProfileException from an existing exception.
  UnsupportedProfileException(String msg)
          Creates a new UnsupportedProfileException
  UnsupportedProfileException(String msg, Exception e)
          Creates a new UnsupportedProfileException
 
Method Summary
 
Methods inherited from class org.opensaml.SAMLException
clone, fromDOM, getCodes, getException, getInstance, getInstance, getMessage, getParent, setParent, 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

UnsupportedProfileException

protected UnsupportedProfileException(Element e)
                               throws SAMLException
Creates a new UnsupportedProfileException

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

UnsupportedProfileException

public UnsupportedProfileException(String msg)
Creates a new UnsupportedProfileException

Parameters:
msg - The detail message

UnsupportedProfileException

public UnsupportedProfileException(String msg,
                                   Exception e)
Creates a new UnsupportedProfileException

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

UnsupportedProfileException

public UnsupportedProfileException(Collection codes,
                                   String msg)
Creates a new UnsupportedProfileException

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

UnsupportedProfileException

public UnsupportedProfileException(Collection codes,
                                   Exception e)
Creates a new UnsupportedProfileException wrapping an existing exception

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

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

UnsupportedProfileException

public UnsupportedProfileException(Collection codes,
                                   String msg,
                                   Exception e)
Creates a new UnsupportedProfileException 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 UnsupportedProfileException

UnsupportedProfileException

public UnsupportedProfileException(javax.xml.namespace.QName code,
                                   String msg)
Creates a new UnsupportedProfileException

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

UnsupportedProfileException

public UnsupportedProfileException(javax.xml.namespace.QName code,
                                   Exception e)
Creates a new UnsupportedProfileException wrapping an existing exception

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

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

UnsupportedProfileException

public UnsupportedProfileException(javax.xml.namespace.QName code,
                                   String msg,
                                   Exception e)
Creates a new UnsupportedProfileException 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 UnsupportedProfileException


Copyright ? 2005 UCAID. All Rights Reserved.