|
||||||||||
| 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.gcube.opensearch.opensearchlibrary.query.MalformedQueryException
public class MalformedQueryException
An exception that is thrown when an error in a query construct is detected, e.g. an invalid parameter value
| Constructor Summary | |
|---|---|
MalformedQueryException()
Creates a new instance |
|
MalformedQueryException(java.lang.String message)
Creates a new instance |
|
MalformedQueryException(java.lang.String message,
java.lang.String name)
Creates a new instance |
|
MalformedQueryException(java.lang.String message,
java.lang.Throwable cause)
Creates a new instance |
|
MalformedQueryException(java.lang.Throwable cause)
Creates a new instance |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Retrieves the name of the parameter related to the error |
java.lang.String |
toString()
Returns a short description of this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MalformedQueryException()
public MalformedQueryException(java.lang.String message)
message - The error message
public MalformedQueryException(java.lang.String message,
java.lang.String name)
message - The error messagename - The name of the query parameter related to the errorpublic MalformedQueryException(java.lang.Throwable cause)
cause - The cause of the error
public MalformedQueryException(java.lang.String message,
java.lang.Throwable cause)
message - The error messagecause - The cause of the error| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String toString()
Exception also including
the query parameter name related to the error, if it is specified.
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||