org.opensaml
Class RetryableProfileException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opensaml.SAMLException
              extended byorg.opensaml.ProfileException
                  extended byorg.opensaml.RetryableProfileException
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
ReplayedAssertionException

public class RetryableProfileException
extends ProfileException
implements java.lang.Cloneable

Indicates that an error occurred during the processing of a SAML profile, and the error is 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, REQUESTER, RESPONDER, root, SUCCESS, VERSION
 
Constructor Summary
  RetryableProfileException(java.util.Collection codes, java.lang.Exception e)
          Creates a new RetryableProfileException wrapping an existing exception
  RetryableProfileException(java.util.Collection codes, java.lang.String msg)
          Creates a new RetryableProfileException
  RetryableProfileException(java.util.Collection codes, java.lang.String msg, java.lang.Exception e)
          Creates a new RetryableProfileException from an existing exception.
protected RetryableProfileException(org.w3c.dom.Element e)
          Creates a new RetryableProfileException
  RetryableProfileException(QName code, java.lang.Exception e)
          Creates a new RetryableProfileException wrapping an existing exception
  RetryableProfileException(QName code, java.lang.String msg)
          Creates a new RetryableProfileException
  RetryableProfileException(QName code, java.lang.String msg, java.lang.Exception e)
          Creates a new RetryableProfileException from an existing exception.
  RetryableProfileException(java.lang.String msg)
          Creates a new RetryableProfileException
  RetryableProfileException(java.lang.String msg, java.lang.Exception e)
          Creates a new RetryableProfileException
 
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

RetryableProfileException

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

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

RetryableProfileException

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

Parameters:
msg - The detail message

RetryableProfileException

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

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

RetryableProfileException

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

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

RetryableProfileException

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

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

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

RetryableProfileException

public RetryableProfileException(java.util.Collection codes,
                                 java.lang.String msg,
                                 java.lang.Exception e)
Creates a new RetryableProfileException 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 RetryableProfileException

RetryableProfileException

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

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

RetryableProfileException

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

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

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

RetryableProfileException

public RetryableProfileException(QName code,
                                 java.lang.String msg,
                                 java.lang.Exception e)
Creates a new RetryableProfileException 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 RetryableProfileException


Copyright ? 2002 UCAID. All Rights Reserved.