com.foxsmart.ic.lang
Class ThreadErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.foxsmart.ic.lang.ThreadErrorException
All Implemented Interfaces:
java.io.Serializable

public class ThreadErrorException
extends java.lang.Exception

This exception is thrown when a thread times out.

See Also:
Serialized Form

Constructor Summary
ThreadErrorException(java.lang.Exception originalException)
          Constructs a new thread timeout exception with no message.
ThreadErrorException(java.lang.Exception originalException, java.lang.String message)
          Constructs a new thread timeout exception.
 
Method Summary
 java.lang.Exception getOriginalException()
          Gets the original exception that caused the ThreadErrorException.
 
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

ThreadErrorException

public ThreadErrorException(java.lang.Exception originalException)
Constructs a new thread timeout exception with no message.

Parameters:
originalException - the original exception.

ThreadErrorException

public ThreadErrorException(java.lang.Exception originalException,
                            java.lang.String message)
Constructs a new thread timeout exception.

Parameters:
originalException - the original exception.
message - The message to include in the thread timeout exception.
Method Detail

getOriginalException

public java.lang.Exception getOriginalException()
Gets the original exception that caused the ThreadErrorException.

Returns:
The original exception.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.