Class ApiException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.commuty.parking.http.ApiException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CredentialsException, HttpClientException, HttpRequestException

public class ApiException
extends java.lang.Exception

Any Exception that the client can throw.

You can either catch This exception, or use the more specific exceptions (CredentialsException, HttpRequestException, HttpClientException).

See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected ApiException()  
    protected ApiException​(java.lang.String message)  
    protected ApiException​(java.lang.String message, java.lang.Throwable cause)  
    protected ApiException​(java.lang.Throwable cause)  
  • 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 Details

    • ApiException

      protected ApiException()
    • ApiException

      protected ApiException​(java.lang.Throwable cause)
    • ApiException

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

      protected ApiException​(java.lang.String message, java.lang.Throwable cause)