Package com.piketec.tpt.api
Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.piketec.tpt.api.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-2020 Piketec GmbH - MIT License (MIT) - All rights reserved
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiException(java.lang.String message)
Creates a newApiException
with the given message.ApiException(java.lang.Throwable cause)
Creates a newApiException
with the given cause.
-
-
-
Constructor Detail
-
ApiException
public ApiException(java.lang.String message)
Creates a newApiException
with the given message.- Parameters:
message
- The message of the exception- See Also:
Throwable(String)
-
ApiException
public ApiException(java.lang.Throwable cause)
Creates a newApiException
with the given cause.- Parameters:
cause
- the cause- See Also:
Throwable(Throwable)
-
-