org.opensaml.artifact
Class InvalidArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.opensaml.artifact.InvalidArgumentException
- All Implemented Interfaces:
- Serializable, SAMLArtifactChecking
public class InvalidArgumentException
- extends IllegalArgumentException
- implements SAMLArtifactChecking
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.
- Author:
- Tom Scavo
- See Also:
- Serialized Form
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 |
InvalidArgumentException
public InvalidArgumentException()
- Constructs a
InvalidArgumentException
object
with a default detail message.
InvalidArgumentException
public InvalidArgumentException(String message)
- Constructs a
InvalidArgumentException
object
with the specified detail message.
- Parameters:
message
- the detail message
InvalidArgumentException
public InvalidArgumentException(int found,
int expected)
- Constructs a
InvalidArgumentException
object
with a detail message that mentions the two given lengths.
- Parameters:
found
- the found lengthexpected
- the expected length
Copyright ? 2005 UCAID. All Rights Reserved.