org.objectweb.fractal.task.core
Class TaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.fractal.task.core.TaskException
- All Implemented Interfaces:
- java.io.Serializable
public class TaskException
- extends java.lang.Exception
Exception thrown when an error occurs in task composition framework.
- See Also:
- Serialized Form
Constructor Summary |
TaskException(java.lang.String msg)
|
TaskException(java.lang.String msg,
java.lang.Exception e)
|
TaskException(java.lang.String msg,
org.objectweb.fractal.adl.Node src)
|
TaskException(java.lang.String msg,
org.objectweb.fractal.adl.Node src,
java.lang.Exception e)
|
Method Summary |
java.lang.String |
getMessage()
|
org.objectweb.fractal.adl.Node |
getSrc()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TaskException
public TaskException(java.lang.String msg)
- Parameters:
msg
- a detail message.
TaskException
public TaskException(java.lang.String msg,
org.objectweb.fractal.adl.Node src)
- Parameters:
msg
- a detail message.src
- where the error is located.
TaskException
public TaskException(java.lang.String msg,
java.lang.Exception e)
- Parameters:
msg
- a detail message.e
- the exception that caused this exception.
TaskException
public TaskException(java.lang.String msg,
org.objectweb.fractal.adl.Node src,
java.lang.Exception e)
- Parameters:
msg
- a detail message.src
- where the error is located.e
- the exception that caused this exception.
getSrc
public org.objectweb.fractal.adl.Node getSrc()
- Returns:
- the source node of the error. May be
null
.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.