Class HttpStatusException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
ee.datel.dogis.exception.HttpStatusException
All Implemented Interfaces:
Serializable

public class HttpStatusException extends IOException
HTTP Status exception class.
See Also:
  • Constructor Details

    • HttpStatusException

      public HttpStatusException(org.springframework.http.HttpStatusCode status, String message)
      Constructor.
      Parameters:
      status - http status
      message - error message
    • HttpStatusException

      public HttpStatusException(org.springframework.http.HttpStatusCode status, String message, Throwable cause)
      Constructor.
      Parameters:
      status - http status
      message - error message
      cause - error
  • Method Details

    • getStatus

      public org.springframework.http.HttpStatusCode getStatus()
      Object status getter.
      Returns:
      http status