org.opensaml
Class FatalProfileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opensaml.SAMLException
              extended byorg.opensaml.ProfileException
                  extended byorg.opensaml.FatalProfileException
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
ExpiredAssertionException, InvalidAssertionException, UnsupportedProfileException

public class FatalProfileException
extends ProfileException
implements Cloneable

Indicates that an error occurred during the processing of a SAML profile, and the error is not retryable in the context of the profile

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
  FatalProfileException(Collection codes, Exception e)
          Creates a new FatalProfileException wrapping an existing exception
  FatalProfileException(Collection codes, String msg)
          Creates a new FatalProfileException
  FatalProfileException(Collection codes, String msg, Exception e)
          Creates a new FatalProfileException from an existing exception.
protected FatalProfileException(Element e)
          Creates a new FatalProfileException
  FatalProfileException(String msg)
          Creates a new FatalProfileException
  FatalProfileException(String msg, Exception e)
          Creates a new FatalProfileException
 
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

FatalProfileException

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

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

FatalProfileException

public FatalProfileException(String msg)
Creates a new FatalProfileException

Parameters:
msg - The detail message

FatalProfileException

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

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

FatalProfileException

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

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

FatalProfileException

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

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

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

FatalProfileException

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


Copyright ? 2005 UCAID. All Rights Reserved.