Class ApiException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApiException
    extends java.lang.RuntimeException
    This exception indicates a misuse of the TPT API.
    Author:
    Copyright (c) 2014-2024 Piketec GmbH - MIT License (MIT) - All rights reserved
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiException​(java.lang.String message)
      Creates a new ApiException with the given message.
      ApiException​(java.lang.Throwable cause)
      Creates a new ApiException with the given 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 Detail

      • ApiException

        public ApiException​(java.lang.String message)
        Creates a new ApiException with the given message.
        Parameters:
        message - The message of the exception
        See Also:
        Throwable(String)
      • ApiException

        public ApiException​(java.lang.Throwable cause)
        Creates a new ApiException with the given cause.
        Parameters:
        cause - the cause
        See Also:
        Throwable(Throwable)