public abstract class AbstractMojoExecutionException extends Exception
| 修饰符和类型 | 字段和说明 |
|---|---|
protected String |
longMessage |
protected Object |
source |
| 构造函数和描述 |
|---|
AbstractMojoExecutionException(String message) |
AbstractMojoExecutionException(String message,
Throwable cause) |
AbstractMojoExecutionException(Throwable cause)
构造一个
AbstractMojoExecutionException包装底层的新异常Throwable。 |
| 修饰符和类型 | 方法及说明 |
|---|---|
String |
getLongMessage() |
Object |
getSource() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractMojoExecutionException(String message)
public AbstractMojoExecutionException(String message, Throwable cause)
public AbstractMojoExecutionException(Throwable cause)
AbstractMojoExecutionException包装底层的新异常Throwable。cause- 该方法保存以供以后检索的原因Throwable.getCause()。允许值null,并指示原因不存在或未知。版权所有 © 2001–2022 Apache 软件基金会。版权所有。