Task
Class TaskException
java.lang.Object
java.lang.Throwable
Task.TaskException
- All Implemented Interfaces:
- java.io.Serializable
public class TaskException
- extends java.lang.Throwable
TaskException is thrown when at attempt is made to create & execute more than one underlying SwingWorker thread.
- Since:
- Mar 4, 2008, 2:55:17 PM
- Version:
- 1.0
- Author:
- Nazmul Idris
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
TaskException.Type
enumeration of all the different types of TaskException that can be thrown |
| 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 |
TaskException
public TaskException(TaskException.Type t,
java.lang.String s)
newConcurrentSwingWorkerCreationAttempt
public static TaskException newConcurrentSwingWorkerCreationAttempt(java.lang.String msg,
AbstractTask task)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
executionAttemptAfterShutdown
public static TaskException executionAttemptAfterShutdown(java.lang.String msg,
AbstractTask task)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getType
public TaskException.Type getType()
getTask
public AbstractTask getTask()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Throwable
Copyright © 2011. All Rights Reserved.