com.github.drinkjava2.jtransactions
Class TransactionsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.github.drinkjava2.jtransactions.TransactionsException
All Implemented Interfaces:
Serializable

public class TransactionsException
extends RuntimeException

This TransactionsException used to wrap exception to a Runtime type Exception

Since:
1.0.0
Author:
Yong Zhu
See Also:
Serialized Form

Constructor Summary
TransactionsException()
           
TransactionsException(String msg)
           
TransactionsException(String msg, Throwable cause)
           
TransactionsException(Throwable cause)
           
 
Method Summary
static void assureNotNull(Object obj, String... optionMessages)
          Assure object not null, optionMessages is optional
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

TransactionsException

public TransactionsException()

TransactionsException

public TransactionsException(Throwable cause)

TransactionsException

public TransactionsException(String msg)

TransactionsException

public TransactionsException(String msg,
                             Throwable cause)
Method Detail

assureNotNull

public static void assureNotNull(Object obj,
                                 String... optionMessages)
Assure object not null, optionMessages is optional



Copyright © 2018. All rights reserved.