pivot.web
Class QueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
pivot.util.concurrent.TaskExecutionException
pivot.web.QueryException
- All Implemented Interfaces:
- java.io.Serializable
public class QueryException
- extends TaskExecutionException
Thrown when an error occurs while executing a web query.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryException
public QueryException(int status)
QueryException
public QueryException(int status,
java.lang.String message)
QueryException
public QueryException(java.lang.Throwable cause)
getStatus
public int getStatus()
- Returns the HTTP status code corresponding to the exception.
- Returns:
- An HTTP status code reflecting the nature of the exception.
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class java.lang.Throwable