Class ApiException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApiException
    extends java.lang.Exception
    In case of error returned during execution. For more information about the error, use Throwable.getMessage()
    Author:
    brandon fontany-legall
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiException​(java.lang.Exception exception)  
      ApiException​(java.lang.String message)  
      ApiException​(okhttp3.Response response)  
    • 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
    • Constructor Detail

      • ApiException

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

        public ApiException​(okhttp3.Response response)
      • ApiException

        public ApiException​(java.lang.Exception exception)