Class TransactionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.wso2.carbon.database.utils.jdbc.exceptions.TransactionException
-
- All Implemented Interfaces:
Serializable
public class TransactionException extends Exception
Exception class to throw errors of the transactions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransactionException()TransactionException(String errorMsg)TransactionException(String errorMsg, String errorCode)TransactionException(String errorMsg, String errorCode, Throwable e)TransactionException(String errorMsg, Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()voidsetErrorCode(String errorCode)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TransactionException
public TransactionException()
-
TransactionException
public TransactionException(String errorMsg)
-
-