public class NonExistentParameterException extends Exception
| Constructor and Description |
|---|
NonExistentParameterException()
Creates a new instance
|
NonExistentParameterException(String message)
Creates a new instance
|
NonExistentParameterException(String message,
String name)
Creates a new instance
|
NonExistentParameterException(String message,
Throwable cause)
Creates a new instance
|
NonExistentParameterException(Throwable cause)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Retrieves the name of the parameter related to the error
|
String |
toString()
Returns a short description of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic NonExistentParameterException()
public NonExistentParameterException(String message)
message - The error messagepublic NonExistentParameterException(String message, String name)
message - The error messagename - The name of the query parameter related to the errorpublic NonExistentParameterException(Throwable cause)
cause - The cause of the errorpublic String getName()
Copyright © 2014. All Rights Reserved.