Class ApiError

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ApiError
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiError​(int statusCode, java.lang.Object body)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object body()  
      int statusCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ApiError

        public ApiError​(int statusCode,
                        java.lang.Object body)
    • Method Detail

      • statusCode

        public int statusCode()
      • body

        public java.lang.Object body()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable