|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Error
org.apache.commons.attributes.RepositoryError
public class RepositoryError
Thrown when an attribute repository class can't be loaded or instantiated.
Field Summary | |
---|---|
private java.lang.Throwable |
nested
|
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.Throwable |
getCause()
Get the nested Throwable, if any. |
java.lang.Throwable |
getNested()
Get the nested Throwable if any. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final java.lang.Throwable nested
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.Throwable getNested()
null
if none exists.public java.lang.Throwable getCause()
getCause
in class java.lang.Throwable
null
if none exists.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |