Renamed sharedModel module to racevisionGame - this is intended to be our single module program.
Moved Boat/MockBoat/VisualiserBoat into it. Moved Polars, polarParser, VMG, and polar exception. Moved the networking stuff into it. Moved angle, azimuth, bearing into it. Moved gpscoordinate into it. Moved mark/compoundMark into it. Moved leg into it. Moved trackpoint into it.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package network.Exceptions;
|
||||
|
||||
/**
|
||||
* Exception which is thrown when a message is read, but it is invalid in some way (CRC is wrong, sync bytes, etc...).
|
||||
*/
|
||||
public class InvalidMessageException extends Exception
|
||||
{
|
||||
|
||||
/**
|
||||
* Ctor.
|
||||
* @param message String message.
|
||||
*/
|
||||
public InvalidMessageException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ctor.
|
||||
* @param message String message.
|
||||
* @param cause Cause of the exception.
|
||||
*/
|
||||
public InvalidMessageException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user