Class BaseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.getelements.elements.sdk.model.exception.BaseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AppleIapVerifyReceiptStatusErrorCodeException, ConflictException, DuplicateException, ForbiddenException, InternalException, InvalidDataException, InvalidParameterException, NotFoundException, NotImplementedException, TooBusyException, UnauthorizedException

public abstract class BaseException extends RuntimeException
Created by patricktwohig on 3/25/15.
See Also:
  • Constructor Details

    • BaseException

      public BaseException()
    • BaseException

      public BaseException(String message)
    • BaseException

      public BaseException(String message, Throwable cause)
    • BaseException

      public BaseException(Throwable cause)
    • BaseException

      public BaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
  • Method Details

    • getCode

      public abstract ErrorCode getCode()
      Gets the error code.
      Returns:
      the ErrorCode
    • forceFillInStackTrace

      protected Throwable forceFillInStackTrace()
      Forcibly fills in the exception's stack trace, overriding any system flags.
      Returns:
      the stack trace