Package org.astrogrid.samp.client
Class SampException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.astrogrid.samp.client.SampException
- All Implemented Interfaces:
Serializable
Exception thrown when some error occurs in SAMP processing.
Note that this is a subclass of
IOException
.- Since:
- 15 Jul 2008
- Author:
- Mark Taylor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an exception with no message.SampException
(String msg) Consructs an exception with a given message.SampException
(String msg, Throwable cause) Constructs an exception with a given message and cause.SampException
(Throwable 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
-
SampException
public SampException()Constructs an exception with no message. -
SampException
Consructs an exception with a given message.- Parameters:
msg
- message
-
SampException
Constructs an exception with a given cause.- Parameters:
cause
- cause of this exception
-
SampException
Constructs an exception with a given message and cause.- Parameters:
msg
- messagecause
- cause of this exception
-