Package org.astrogrid.samp
Class DataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.astrogrid.samp.DataException
- All Implemented Interfaces:
Serializable
Unchecked exception thrown when a data structure for use with
SAMP does not have the correct form.
- Since:
- 15 Jul 2008
- Author:
- Mark Taylor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an exception with no message.DataException
(String msg) Consructs an exception with a given message.DataException
(String msg, Throwable e) Constructs an exception with a given message and cause.Constructs an exception with a given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataException
public DataException()Constructs an exception with no message. -
DataException
Consructs an exception with a given message.- Parameters:
msg
- message
-
DataException
Constructs an exception with a given cause.- Parameters:
e
- cause of this exception
-
DataException
Constructs an exception with a given message and cause.- Parameters:
msg
- messagee
- cause of this exception
-