|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
mandala.util.TimedOutException
Exception thrown when an operation timed out.
Constructor Summary | |
TimedOutException(java.lang.String msg,
long timeout,
long time)
Creates a new TimedOutException instance. |
Method Summary | |
long |
getTime()
Returns the real time (>timeout) which cause this exception to be thrown. |
long |
getTimeout()
Returns the maximum amount of time requested. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
Constructor Detail |
public TimedOutException(java.lang.String msg, long timeout, long time)
Creates a new TimedOutException
instance.
timeout
- The maximum amount of time requestedtime
- The real time (>timeout) which cause this exception to be
thrownmsg
- A message
java.lang.IllegalArgumentException
- if time <= timeoutMethod Detail |
public long getTimeout()
Returns the maximum amount of time requested.
public long getTime()
Returns the real time (>timeout) which cause this exception to be thrown.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |