ExceptionBuilder

用于构建java异常的接口.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun setMessage(message: String)

设置异常信息, 默认会使用 IllegalStateException.

Link copied to clipboard
abstract fun setThrowable(throwable: Throwable)

设置异常信息.