org.jcsp.nxt.lang
Class ProcessInterruptedError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.jcsp.nxt.lang.ProcessInterruptedError
All Implemented Interfaces:
java.io.Serializable

public class ProcessInterruptedError
extends java.lang.Error

This is thrown if a process is interrupted whilst blocked during synchronisation - processes should never be interrupted other than in exceptional circumstances where alternative termination is not possible.

Author:
P.H.Welch, Alex Panayotopoulos
See Also:
Serialized Form

Constructor Summary
ProcessInterruptedError(java.lang.String s)
          Constructor with String parameter
 
Method Summary
 java.lang.String getMessage()
          Get the error message
 java.lang.String toString()
          Return a String represetntation of this exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessInterruptedError

public ProcessInterruptedError(java.lang.String s)
Constructor with String parameter

Parameters:
An - error message explaining the problem
Method Detail

getMessage

public java.lang.String getMessage()
Get the error message

Overrides:
getMessage in class java.lang.Throwable

toString

public java.lang.String toString()
Return a String represetntation of this exception

Overrides:
toString in class java.lang.Throwable