math.jwave.exc
Class JWaveException
- java.lang.Object
-
- java.lang.Throwable
-
- math.jwave.exc.JWaveException
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JWaveError, JWaveFailure
public class JWaveException extends java.lang.ThrowableClass to be generally thrown in this package to mark an exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description JWaveException(java.lang.Exception e)Copy constructor; use this for a quick fix of sub typesJWaveException(java.lang.String message)Constructor for storing a handed exception message
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetMessage()Returns the stored exception message as a stringvoidnuke()Nuke the run and print stack tracevoidshowMessage()Displays the stored exception message at console out
-
-
-
Constructor Detail
-
JWaveException
public JWaveException(java.lang.String message)
Constructor for storing a handed exception message- Parameters:
message- this message should tell exactly what went wrong
-
JWaveException
public JWaveException(java.lang.Exception e)
Copy constructor; use this for a quick fix of sub types- Parameters:
e- an object of this class
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the stored exception message as a string- Overrides:
getMessagein classjava.lang.Throwable- Returns:
- exception message that should tell exactly what went wrong
-
showMessage
public void showMessage()
Displays the stored exception message at console out
-
nuke
public void nuke()
Nuke the run and print stack trace
-
-
DMelt 3.0 © DataMelt by jWork.ORG