org.jcsp.nxt.lang
Class ProcessInterruptedError
java.lang.Object
java.lang.Throwable
java.lang.Error
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
|
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 |
ProcessInterruptedError
public ProcessInterruptedError(java.lang.String s)
- Constructor with String parameter
- Parameters:
An - error message explaining the problem
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