blob: ee30a8767e2f3f0432c52b41545ae2ecad8f243c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package com.benburwell.planes.sbs;
/**
* Created by ben on 11/15/16.
*/
public class UnrecognizedMessageTypeException extends Exception {
private String type;
public UnrecognizedMessageTypeException(String type) {
this.type = type;
}
public String getType() {
return this.type;
}
public String getMessage() {
return "Unrecognized message type: " + this.getType();
}
}
|