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.HttpStatus httpStatus
    httpStatus returned to http request as the response
    private java.lang.String message
    message 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, toString

    Methods 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 httpStatus
      httpStatus returned to http request as the response
    • message

      private final java.lang.String message
      message returned to http request as the response
  • Constructor Details

    • PSException

      public PSException()