Package eu.simuline.octave.exception
Class OctaveException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- eu.simuline.octave.exception.OctaveException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OctaveNonrecoverableException
,OctaveRecoverableException
public abstract class OctaveException extends RuntimeException
Base exception class for the JavaOctave project. RuntimeException which handles the destroyed marker. Special methods:setDestroyed(boolean)
andisDestroyed()
. Note that derived classes shall implement all constructors ****.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
destroyed
Set to true on exceptions thrown from an Octave object when the reason for the exception is that the object has been asked to destroy its octave process.
-
Constructor Summary
Constructors Constructor Description OctaveException()
Constructor.OctaveException(String message)
Constructor.OctaveException(String message, Throwable cause)
Constructor required byOctaveExec.reInstException(OctaveException)
.OctaveException(Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDestroyed()
void
setDestroyed(boolean destroyed)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OctaveException
public OctaveException()
Constructor.- See Also:
Throwable
-
OctaveException
public OctaveException(String message)
Constructor.- Parameters:
message
-- See Also:
Throwable
-
OctaveException
public OctaveException(Throwable cause)
Constructor.- Parameters:
cause
-- See Also:
Throwable
-
OctaveException
public OctaveException(String message, Throwable cause)
Constructor required byOctaveExec.reInstException(OctaveException)
.- Parameters:
message
-cause
-- See Also:
Throwable
-
-