Class ApiException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.github.hsnghrld.idpay.exception.ApiException
-
- All Implemented Interfaces:
Serializable
public final class ApiException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiException(String code)Constructs aApiExceptionwith an explanatory message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()StringgetMessage()StringgetMessage_en()StringgetMessage_fa()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ApiException
public ApiException(String code)
Constructs aApiExceptionwith an explanatory message.- Parameters:
code- Detail about the reason for the exception.
-
-