Package com.patreonshout
Class PSException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.patreonshout.PSException
- All Implemented Interfaces:
java.io.Serializable
public class PSException
extends java.lang.Exception
Exception for any database or internal server errors
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description private org.springframework.http.HttpStatushttpStatushttpStatus returned to http request as the responseprivate java.lang.Stringmessagemessage returned to http request as the response -
Constructor Summary
Constructors Constructor Description PSException() -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
httpStatus
private final org.springframework.http.HttpStatus httpStatushttpStatus returned to http request as the response -
message
private final java.lang.String messagemessage returned to http request as the response
-
-
Constructor Details
-
PSException
public PSException()
-