public class RepositoryError
extends java.lang.Error
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Throwable |
nested |
| Constructor and Description |
|---|
RepositoryError()
Create a new RepositoryError with no message or nested Throwable.
|
RepositoryError(java.lang.String message)
Create a new RepositoryError with a message but no nested Throwable.
|
RepositoryError(java.lang.String message,
java.lang.Throwable nested)
Create a new RepositoryError with a message and nested Throwable.
|
RepositoryError(java.lang.Throwable nested)
Create a new RepositoryError with a nested Throwable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause()
Get the nested Throwable, if any.
|
java.lang.Throwable |
getNested()
Get the nested Throwable if any.
|
public RepositoryError()
public RepositoryError(java.lang.String message)
message - the message.public RepositoryError(java.lang.Throwable nested)
nested.toString().nested - the nested Throwable.public RepositoryError(java.lang.String message,
java.lang.Throwable nested)
message - the message.nested - the nested Throwable.public java.lang.Throwable getNested()
null if none exists.public java.lang.Throwable getCause()
getCause in class java.lang.Throwablenull if none exists.