类 ThrowHelper
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.tools.ThrowHelper
-
public class ThrowHelper extends Object
错误抛出器return ThrowHelper.thrown(new Throwable("A checked throwable."));
-
-
构造器概要
构造器 构造器 说明 ThrowHelper()
-
方法概要
修饰符和类型 方法 说明 static ThrowHelpergetInstance()static voidmain(String[] args)voidthr(Throwable thr)protected voidthr0(Throwable t)static <T> Tthrown(Throwable throwable)
-
-
-
方法详细资料
-
getInstance
public static ThrowHelper getInstance()
-
thrown
public static <T> T thrown(Throwable throwable)
-
thr
public void thr(Throwable thr)
-
thr0
protected void thr0(Throwable t)
-
main
public static void main(String[] args)
-
-