public class BuildException extends Exception
| Constructor and Description |
|---|
BuildException(List<Diagnostic> diagnostics)
Constructs a new
DeploymentException instance. |
BuildException(String msg,
List<Diagnostic> diagnostics)
Constructs a new
DeploymentException instance with an initial message. |
BuildException(String msg,
Throwable cause,
List<Diagnostic> diagnostics)
Constructs a new
DeploymentException instance with an initial message and cause. |
BuildException(Throwable cause,
List<Diagnostic> diagnostics)
Constructs a new
DeploymentException instance with an initial cause. |
| Modifier and Type | Method and Description |
|---|---|
List<Diagnostic> |
getDiagnostics()
Get the diagnostics associated with the build failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BuildException(List<Diagnostic> diagnostics)
DeploymentException instance. The message is left blank (null), and no
cause is specified.diagnostics - the diagnostics associated with the build failure (not null)public BuildException(String msg, List<Diagnostic> diagnostics)
DeploymentException instance with an initial message. No
cause is specified.msg - the messagediagnostics - the diagnostics associated with the build failure (not null)public BuildException(Throwable cause, List<Diagnostic> diagnostics)
DeploymentException instance with an initial cause. If
a non-null cause is specified, its message is used to initialize the message of this
DeploymentException; otherwise the message is left blank (null).cause - the causediagnostics - the diagnostics associated with the build failure (not null)public BuildException(String msg, Throwable cause, List<Diagnostic> diagnostics)
DeploymentException instance with an initial message and cause.msg - the messagecause - the causediagnostics - the diagnostics associated with the build failure (not null)public List<Diagnostic> getDiagnostics()
null)Copyright © 2021 JBoss by Red Hat. All rights reserved.