|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.opensaml.artifact.InvalidArgumentException
Indicates a invalid argument to a method or constructor.
A special constructor is provided:
InvalidArgumentException( int, int )
.
Use this constructor if an unexpected length is encountered.
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 | |
InvalidArgumentException()
Constructs a InvalidArgumentException object
with a default detail message. |
|
InvalidArgumentException(int found,
int expected)
Constructs a InvalidArgumentException object
with a detail message that mentions the two given lengths. |
|
InvalidArgumentException(String message)
Constructs a InvalidArgumentException object
with the specified detail message. |
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 InvalidArgumentException()
InvalidArgumentException
object
with a default detail message.
public InvalidArgumentException(String message)
InvalidArgumentException
object
with the specified detail message.
message
- the detail messagepublic InvalidArgumentException(int found, int expected)
InvalidArgumentException
object
with a detail message that mentions the two given lengths.
found
- the found lengthexpected
- the expected length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |