com.lmax.disruptor
Class TimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.lmax.disruptor.TimeoutException
All Implemented Interfaces:
java.io.Serializable

public class TimeoutException
extends java.lang.Exception

Used to signal that an operation has timed out and been aborted.

It does not fill in a stack trace for performance reasons.

See Also:
Serialized Form

Field Summary
static TimeoutException INSTANCE
          Pre-allocated exception to avoid garbage generation
 
Method Summary
 java.lang.Throwable fillInStackTrace()
          Overridden so the stack trace is not filled in for this exception for performance reasons.
 
Methods inherited from class java.lang.Throwable
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
 

Field Detail

INSTANCE

public static final TimeoutException INSTANCE
Pre-allocated exception to avoid garbage generation

Method Detail

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Overridden so the stack trace is not filled in for this exception for performance reasons.

Overrides:
fillInStackTrace in class java.lang.Throwable
Returns:
this instance.


Copyright © 2011 LMAX Ltd. All Rights Reserved.