Class TPCSDKException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.thalesgroup.tpcsdk.manager.exception.TPCSDKException
-
- All Implemented Interfaces:
Serializable
public class TPCSDKException extends Exception
TPCSDKException is generic exception class to handle all TPC errors TPCSDKException providesexceptionTypethrough which called will get exact reason for error- Since:
- 1.0
- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TPCSDKException(TPCSDKExceptionType exceptionType)TPCSDKException(TPCSDKExceptionType exceptionType, int errorCode)TPCSDKException(TPCSDKExceptionType exceptionType, Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TPCSDKExceptionTypegetExceptionType()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TPCSDKException
public TPCSDKException(TPCSDKExceptionType exceptionType)
-
TPCSDKException
public TPCSDKException(TPCSDKExceptionType exceptionType, Throwable cause)
-
TPCSDKException
public TPCSDKException(TPCSDKExceptionType exceptionType, int errorCode)
-
-
Method Detail
-
getExceptionType
public TPCSDKExceptionType getExceptionType()
-
-