org.opensaml.artifact
Class ArtifactParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensaml.artifact.ArtifactParseException
All Implemented Interfaces:
Serializable, SAMLArtifactChecking

public class ArtifactParseException
extends Exception
implements SAMLArtifactChecking

Indicates an error occurred while parsing an artifact. Two special constructors are provided:

Author:
Tom Scavo
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.opensaml.artifact.SAMLArtifactChecking
HANDLE_LENGTH, IDENTIFIER_LENGTH, INVALID_ARG_ERROR_MSG, LENGTH_ERROR_MSG, NULL_ARG_ERROR_MSG, PARSE_ERROR_MSG, PARSER_ERROR_MSG, TYPE_CODE_ERROR_MSG
 
Constructor Summary
ArtifactParseException()
          Constructs a ArtifactParseException object with a default detail message.
ArtifactParseException(Artifact.TypeCode found, Artifact.TypeCode expected)
          Constructs a ArtifactParseException object with a detail message that mentions the two given type codes.
ArtifactParseException(int found, int expected)
          Constructs a ArtifactParseException object with a detail message that mentions the two given lengths.
ArtifactParseException(String message)
          Constructs a ArtifactParseException object with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactParseException

public ArtifactParseException()
Constructs a ArtifactParseException object with a default detail message.


ArtifactParseException

public ArtifactParseException(String message)
Constructs a ArtifactParseException object with the specified detail message.

Parameters:
message - the detail message

ArtifactParseException

public ArtifactParseException(int found,
                              int expected)
Constructs a ArtifactParseException object with a detail message that mentions the two given lengths.

Parameters:
found - the found length
expected - the expected length

ArtifactParseException

public ArtifactParseException(Artifact.TypeCode found,
                              Artifact.TypeCode expected)
Constructs a ArtifactParseException object with a detail message that mentions the two given type codes.

Parameters:
found - the found length
expected - the expected length


Copyright ? 2005 UCAID. All Rights Reserved.