blob: e5192fdb9593254b611209d740fa87d06c2cc2ae [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.projectfloodlight.openflow.exceptions;
2
3/**
4 * Error: someone asked to create an OFMessage with wireformat type and version,
5 * but that doesn't exist
6 *
7 * @author capveg
8 */
9public class NonExistantMessage extends Exception {
10
11 private static final long serialVersionUID = 1L;
12 byte type;
13 byte version;
14
15 /**
16 * Error: someone asked to create an OFMessage with wireformat type and
17 * version, but that doesn't exist
18 *
19 * @param type
20 * the wire format
21 * @param version
22 * the OpenFlow wireformat version number, e.g. 1 == v1.1, 2 =
23 * v1.2, etc.
24 */
25 public NonExistantMessage(final byte type, final byte version) {
26 this.type = type;
27 this.version = version;
28 }
29
30}