|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.metastatic.rsync.ListenerException
Signals an exception raised by an @{link GeneratorListener}, @{link MatcherListener}, or @{link RebuilderListener}.
Listener exceptions may contain other exceptions (the "cause") and may be chained together if there are multiple failures accross multiple listeners.
| Field Summary | |
|---|---|
protected Throwable |
cause
|
protected ListenerException |
next
|
| Constructor Summary | |
|---|---|
ListenerException()
|
|
ListenerException(String msg)
|
|
ListenerException(Throwable cause)
|
|
ListenerException(Throwable cause,
String msg)
|
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Gets the cause of this exception, or null if the
cause is unknown. |
ListenerException |
getNext()
Returns the next exception in this chain, or null if
there are no other exceptions. |
Throwable |
initCause(Throwable cause)
Sets the cause of this exception. |
void |
setNext(ListenerException next)
Sets the next exception in this chain. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected ListenerException next
protected Throwable cause
| Constructor Detail |
public ListenerException(Throwable cause)
public ListenerException(Throwable cause,
String msg)
public ListenerException(String msg)
public ListenerException()
| Method Detail |
public ListenerException getNext()
null if
there are no other exceptions.
public void setNext(ListenerException next)
next - The next exception.public Throwable getCause()
null if the
cause is unknown.
getCause in class Throwablepublic Throwable initCause(Throwable cause)
initCause in class Throwablecause - The cause of this exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||