Class NetworkExceptionResponse

All Implemented Interfaces:
Serializable

public class NetworkExceptionResponse extends RuntimeException
A network exception with its message and HTTP status.
See Also:
  • Field Details

  • Constructor Details

    • NetworkExceptionResponse

      public NetworkExceptionResponse(String status, ErrorModel errorModel)
  • Method Details

    • getStatus

      public String getStatus()
    • getMessage

      public String getMessage()
      Returns the message of the exception.
      Overrides:
      getMessage in class Throwable
    • getExceptionClassName

      public String getExceptionClassName()
      Returns the fully-qualified name of the class of the exception.