Package spread
Class SpreadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- spread.SpreadException
-
- All Implemented Interfaces:
java.io.Serializable
public class SpreadException extends java.lang.ExceptionA SpreadException is thrown whenever a problem occurs in a spread method. One example is calling a SpreadConnection object'sSpreadConnection.receive()method before callingSpreadConnection.connect(InetAddress, int, String, boolean, boolean)on the object.More exceptions will probably be provided in the future, to give more detailed error information. However, these exceptions will all be extended from SpreadException, so any exception-handling code written to handle SpreadException's will catch the new exceptions equally well.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpreadException()Creates a SpreadException with no error message.SpreadException(java.lang.String errorMessage)Creates a SpreadException with an error message.
-