Package 

Class ApiErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class ApiErrorException
    extends KuzzleException
                        

    Passed to async tasks when an API request returns an error.

    • Constructor Summary

      Constructors 
      Constructor Description
      ApiErrorException(Response response) Initializes a new instance of the ApiErrorException
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getStack() Kuzzle API stack trace
      final String getId() Kuzzle API error unique identifier
      • Methods inherited from class io.kuzzle.sdk.coreClasses.exceptions.KuzzleException

        getStatus
      • Methods inherited from class kotlin.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, toString, wait, wait, wait
    • Constructor Detail

      • ApiErrorException

        ApiErrorException(Response response)
        Initializes a new instance of the ApiErrorException
        Parameters:
        response - Kuzzle API Response.