public class ArgumentException extends IllegalArgumentException implements Serializable, ExceptionInfo
IllegalArgumentException
.GENERAL, INTERNAL, STORE, UNAVAILABLE, UNSUPPORTED, USER, WRAPPED
Constructor and Description |
---|
ArgumentException(Localizer.Message msg,
Throwable[] nested,
Object failed,
boolean fatal) |
ArgumentException(String msg,
Throwable[] nested,
Object failed,
boolean fatal) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the first
Throwable from ExceptionInfo.getNestedThrowables()
in order to conform to Throwable.getCause() in Java 1.4+. |
Object |
getFailedObject()
The failed object.
|
Throwable[] |
getNestedThrowables()
The nested throwables.
|
int |
getSubtype()
Exception subtype.
|
int |
getType()
Exception type.
|
boolean |
isFatal()
Whether this error is fatal.
|
void |
printStackTrace()
Stack.
|
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
String |
toString() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage
public ArgumentException(String msg, Throwable[] nested, Object failed, boolean fatal)
public ArgumentException(Localizer.Message msg, Throwable[] nested, Object failed, boolean fatal)
public int getType()
ExceptionInfo
getType
in interface ExceptionInfo
public int getSubtype()
ExceptionInfo
getSubtype
in interface ExceptionInfo
public boolean isFatal()
ExceptionInfo
isFatal
in interface ExceptionInfo
public Throwable getCause()
ExceptionInfo
Throwable
from ExceptionInfo.getNestedThrowables()
in order to conform to Throwable.getCause()
in Java 1.4+.getCause
in interface ExceptionInfo
getCause
in class Throwable
Throwable.getCause()
public Throwable[] getNestedThrowables()
ExceptionInfo
getNestedThrowables
in interface ExceptionInfo
public Object getFailedObject()
ExceptionInfo
getFailedObject
in interface ExceptionInfo
public void printStackTrace()
ExceptionInfo
printStackTrace
in interface ExceptionInfo
printStackTrace
in class Throwable
Throwable.printStackTrace()
public void printStackTrace(PrintStream out)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter out)
printStackTrace
in class Throwable
Copyright © 2006–2019 Apache Software Foundation. All rights reserved.