public class Exception extends Object
| Constructor and Description |
|---|
Exception() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<Exception> |
getInnerExceptions()
An array of exception objects each of which is considered a cause of this exception.
|
String |
getKind()
A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal.
|
String |
getMessage()
A message that describes the exception.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Stack |
getStack()
A call stack that is relevant to a result.
|
int |
hashCode() |
void |
setInnerExceptions(List<Exception> innerExceptions)
An array of exception objects each of which is considered a cause of this exception.
|
void |
setKind(String kind)
A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal.
|
void |
setMessage(String message)
A message that describes the exception.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setStack(Stack stack)
A call stack that is relevant to a result.
|
String |
toString() |
Exception |
withInnerExceptions(List<Exception> innerExceptions) |
Exception |
withKind(String kind) |
Exception |
withMessage(String message) |
Exception |
withProperties(PropertyBag properties) |
Exception |
withStack(Stack stack) |
public String getKind()
public void setKind(String kind)
public String getMessage()
public void setMessage(String message)
public Stack getStack()
public void setStack(Stack stack)
public List<Exception> getInnerExceptions()
public void setInnerExceptions(List<Exception> innerExceptions)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Exception withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.