|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opensaml.artifact.ArtifactParseException
public class ArtifactParseException
Indicates an error occurred while parsing an artifact. Two special constructors are provided:
ArtifactParseException( int, int )
:
use this constructor if an unexpected length is
encountered while parsing an artifactArtifactParseException( Artifact.TypeCode, Artifact.TypeCode )
:
use this constructor if an unexpected type code is
encountered while parsing an artifact
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 |
---|
public ArtifactParseException()
ArtifactParseException
object
with a default detail message.
public ArtifactParseException(String message)
ArtifactParseException
object
with the specified detail message.
message
- the detail messagepublic ArtifactParseException(int found, int expected)
ArtifactParseException
object
with a detail message that mentions the two given lengths.
found
- the found lengthexpected
- the expected lengthpublic ArtifactParseException(Artifact.TypeCode found, Artifact.TypeCode expected)
ArtifactParseException
object
with a detail message that mentions the two given type codes.
found
- the found lengthexpected
- the expected length
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |