|
||||||||||
| 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.NonExistentParameterException
public class NonExistentParameterException
An exception that is thrown when a query parameter is not present
| Constructor Summary | |
|---|---|
NonExistentParameterException()
Creates a new instance |
|
NonExistentParameterException(java.lang.String message)
Creates a new instance |
|
NonExistentParameterException(java.lang.String message,
java.lang.String name)
Creates a new instance |
|
NonExistentParameterException(java.lang.String message,
java.lang.Throwable cause)
Creates a new instance |
|
NonExistentParameterException(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 NonExistentParameterException()
public NonExistentParameterException(java.lang.String message)
message - The error message
public NonExistentParameterException(java.lang.String message,
java.lang.String name)
message - The error messagename - The name of the query parameter related to the errorpublic NonExistentParameterException(java.lang.Throwable cause)
cause - The cause of the error
public NonExistentParameterException(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 | |||||||||