public class ModelVetoException extends ModelException
| Constructor and Description |
|---|
ModelVetoException()
Creates new
ModelVetoException without detail message and
null as the target exception. |
ModelVetoException(String msg)
Constructs an
ModelVetoException with the specified
detail message and null as the target exception.. |
ModelVetoException(Throwable target)
Constructs a ModelVetoException with a target exception.
|
ModelVetoException(Throwable target,
String s)
Constructs a ModelVetoException with a target exception
and a detail message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the error message string of this throwable object.
|
Throwable |
getTargetException()
Get the thrown target exception.
|
void |
printStackTrace()
Prints the stack trace of the thrown target exception.
|
void |
printStackTrace(PrintStream ps)
Prints the stack trace of the thrown target exception to the specified
print stream.
|
void |
printStackTrace(PrintWriter pw)
Prints the stack trace of the thrown target exception to the
specified print writer.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic ModelVetoException()
ModelVetoException without detail message and
null as the target exception.public ModelVetoException(String msg)
ModelVetoException with the specified
detail message and null as the target exception..msg - the detail message.public ModelVetoException(Throwable target)
public Throwable getTargetException()
public String getMessage()
getMessage in class ThrowableModelVetoException
object if it was created with an error message string, the error
message of the target exception if it was not created a message
but the target exception has a message, or null if
neither has an error message.public void printStackTrace()
printStackTrace in class ThrowableSystem.errpublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class ThrowableCopyright © 2017–2019 Eclipse Foundation. All rights reserved.