org.apache.commons.attributes
Class RepositoryError
Errororg.apache.commons.attributes.RepositoryError
public class RepositoryError
extends Error
Thrown when an attribute repository class can't be
loaded or instantiated.
RepositoryError()- Create a new RepositoryError with no message or nested Throwable.
|
RepositoryError(String message)- Create a new RepositoryError with a message but no nested Throwable.
|
RepositoryError(String message, Throwable nested)- Create a new RepositoryError with a message and nested Throwable.
|
RepositoryError(Throwable nested)- Create a new RepositoryError with a nested Throwable.
|
Throwable | getCause()- Get the nested Throwable, if any.
|
Throwable | getNested()- Get the nested Throwable if any.
|
nested
private final Throwable nested
RepositoryError
public RepositoryError()
Create a new RepositoryError with no message or nested Throwable.
RepositoryError
public RepositoryError(String message)
Create a new RepositoryError with a message but no nested Throwable.
RepositoryError
public RepositoryError(String message,
Throwable nested) Create a new RepositoryError with a message and nested Throwable.
message - the message.nested - the nested Throwable.
RepositoryError
public RepositoryError(Throwable nested)
Create a new RepositoryError with a nested Throwable. The message is set to nested.toString().
nested - the nested Throwable.
getCause
public Throwable getCause()
Get the nested Throwable, if any.
- the Throwable that caused this Error to be thrown, or
null if none exists.
getNested
public Throwable getNested()
Get the nested Throwable if any.
- the Throwable that caused this Error to be thrown, or
null if none exists.