|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.otfeed.OTException
public final class OTException
Runtime Exception that may hold OTError object describing an error condition reported by Opentick server.
| Constructor Summary | |
|---|---|
OTException()
Creates empty exception. |
|
OTException(java.lang.Exception wrapped)
Creates exception by wrapping some other exception. |
|
OTException(OTError error)
Creates exception by wrapping OTError object. |
|
OTException(java.lang.String reason)
Creates exception with text description. |
|
| Method Summary | |
|---|---|
OTError |
getError()
Returns wrapped OTError object (may be null). |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OTException()
public OTException(java.lang.String reason)
reason - description of the reason.public OTException(java.lang.Exception wrapped)
wrapped - exception that caused the problem.public OTException(OTError error)
error - describes error condition reported by Opentick server.| Method Detail |
|---|
public OTError getError()
public java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||