Package com.gitee.apanlh.exp.reflection
Class ReflectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.gitee.apanlh.exp.reflection.ReflectionException
-
- All Implemented Interfaces:
Serializable
public class ReflectionException extends RuntimeException
反射异常- Author:
- Pan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReflectionException(Exception e)构造函数
指定异常ReflectionException(String msg)构造函数
指定消息ReflectionException(String format, Exception e, Object... argument)构造函数
指定格式化消息
自定义抛出异常ReflectionException(String format, Object... argument)构造函数
指定格式化消息ReflectionException(String msg, Throwable cause)构造函数
指定消息及指定异常
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ReflectionException
public ReflectionException(Exception e)
构造函数
指定异常- Parameters:
e- 异常
-
ReflectionException
public ReflectionException(String msg)
构造函数
指定消息- Parameters:
msg- 消息
-
ReflectionException
public ReflectionException(String format, Object... argument)
构造函数
指定格式化消息- Parameters:
format- 格式化字符串argument- 参数
-
ReflectionException
public ReflectionException(String format, Exception e, Object... argument)
构造函数
指定格式化消息
自定义抛出异常- Parameters:
format- 格式化字符串e- 抛出异常argument- 参数
-
-