Class APIException

  • All Implemented Interfaces:
    java.io.Serializable

    public class APIException
    extends java.lang.Exception
    Author:
    Ɓukasz Kajda
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      APIException()  
      APIException​(java.lang.Integer status, java.lang.String message)  
      APIException​(java.lang.Integer status, java.lang.String message, java.lang.Throwable t)  
      APIException​(java.lang.String message)  
      APIException​(java.lang.String message, java.lang.Throwable t)  
      APIException​(java.lang.Throwable t)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getStatus()
      HTTP status returned from API call or null if call hasn't been executed yet.
      • 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
    • Constructor Detail

      • APIException

        public APIException()
      • APIException

        public APIException​(java.lang.String message)
      • APIException

        public APIException​(java.lang.Integer status,
                            java.lang.String message)
      • APIException

        public APIException​(java.lang.Throwable t)
      • APIException

        public APIException​(java.lang.String message,
                            java.lang.Throwable t)
      • APIException

        public APIException​(java.lang.Integer status,
                            java.lang.String message,
                            java.lang.Throwable t)
    • Method Detail

      • getStatus

        public java.lang.Integer getStatus()
        HTTP status returned from API call or null if call hasn't been executed yet.