com.sun.grid.jgrid
Class JobCanceledException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.grid.jgrid.JGridException
              extended bycom.sun.grid.jgrid.JobCanceledException
All Implemented Interfaces:
java.io.Serializable

public class JobCanceledException
extends JGridException

This exception is used as a placeholder to pass back to through the result channel to notify the client that the job has been canceled before completing.

Since:
0.2
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
JobCanceledException()
          Creates a new instance of JobCanceledException without detail message.
JobCanceledException(java.lang.String msg)
          Constructs an instance of JobCanceledException with the specified detail message.
 
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

JobCanceledException

public JobCanceledException()
Creates a new instance of JobCanceledException without detail message.


JobCanceledException

public JobCanceledException(java.lang.String msg)
Constructs an instance of JobCanceledException with the specified detail message.

Parameters:
msg - the detail message.