public class MalformedQueryException extends Exception
| Constructor and Description |
|---|
MalformedQueryException()
Creates a new instance
|
MalformedQueryException(String message)
Creates a new instance
|
MalformedQueryException(String message,
String name)
Creates a new instance
|
MalformedQueryException(String message,
Throwable cause)
Creates a new instance
|
MalformedQueryException(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 MalformedQueryException()
public MalformedQueryException(String message)
message - The error messagepublic MalformedQueryException(String message, String name)
message - The error messagename - The name of the query parameter related to the errorpublic MalformedQueryException(Throwable cause)
cause - The cause of the errorpublic String getName()
Copyright © 2014. All Rights Reserved.