blob: abab067e917e75c1c43349b0f67506881b634be8 (
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 UnrecognizedTransmissionTypeException extends Exception {
private int code;
public UnrecognizedTransmissionTypeException(int code) {
this.code = code;
}
public int getCode() {
return this.code;
}
public String getMessage() {
return "Unrecognized transmission type: " + this.getCode();
}
}
|