com.github.drinkjava2.jtransactions.tinytx
Class TinyTxRuntimeException

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

public class TinyTxRuntimeException
extends RuntimeException

This TinyTxRuntimeException used to wrap exception to a Runtime type Exception

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

Constructor Summary
TinyTxRuntimeException()
           
TinyTxRuntimeException(String msg)
           
TinyTxRuntimeException(String msg, Throwable cause)
           
TinyTxRuntimeException(Throwable cause)
           
 
Method Summary
static void assertNotNull(Object object, String msg)
           
 
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

TinyTxRuntimeException

public TinyTxRuntimeException()

TinyTxRuntimeException

public TinyTxRuntimeException(Throwable cause)

TinyTxRuntimeException

public TinyTxRuntimeException(String msg)

TinyTxRuntimeException

public TinyTxRuntimeException(String msg,
                              Throwable cause)
Method Detail

assertNotNull

public static void assertNotNull(Object object,
                                 String msg)


Copyright © 2018. All rights reserved.