org.opensaml
Class ReplayedAssertionException

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.RetryableProfileException
                      extended by org.opensaml.ReplayedAssertionException
All Implemented Interfaces:
Serializable, Cloneable

public class ReplayedAssertionException
extends RetryableProfileException
implements Cloneable

Indicates that a profile failed because an assertion was found to be a replayed copy of an earlier assertion already seen

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

ReplayedAssertionException

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

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

ReplayedAssertionException

public ReplayedAssertionException(String msg)
Creates a new ReplayedAssertionException

Parameters:
msg - The detail message

ReplayedAssertionException

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

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

ReplayedAssertionException

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

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

ReplayedAssertionException

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

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

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

ReplayedAssertionException

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

ReplayedAssertionException

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

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

ReplayedAssertionException

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

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

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

ReplayedAssertionException

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


Copyright ? 2005 UCAID. All Rights Reserved.