public class ErrorDetails extends Object
| Constructor and Description |
|---|
ErrorDetails(Throwable throwable,
String cause)
Constructs a new ErrorDetails object with the given throwable and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCause()
Retrieves the cause of the error.
|
Throwable |
getThrowable()
Retrieves the throwable object that caused the error.
|
void |
setCause(String cause)
Sets the cause of the error.
|
void |
setThrowable(Throwable throwable)
Sets the throwable object that caused the error.
|
public Throwable getThrowable()
public void setThrowable(Throwable throwable)
throwable - the throwable object that caused the errorpublic String getCause()
public void setCause(String cause)
cause - the cause of the errorCopyright © 2017–2023 Flowing Code. All rights reserved.