org.projectfloodlight.openflow.exceptions.NonExistantMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openflowj Show documentation
Show all versions of openflowj Show documentation
OpenFlowJ API supporting OpenFlow versions 1.0 through 1.5.1, generated by LoxiGen
The newest version!
package org.projectfloodlight.openflow.exceptions;
/**
* Error: someone asked to create an OFMessage with wireformat type and version,
* but that doesn't exist
*
* @author capveg
*/
public class NonExistantMessage extends Exception {
private static final long serialVersionUID = 1L;
byte type;
byte version;
/**
* Error: someone asked to create an OFMessage with wireformat type and
* version, but that doesn't exist
*
* @param type
* the wire format
* @param version
* the OpenFlow wireformat version number, e.g. 1 == v1.1, 2 =
* v1.2, etc.
*/
public NonExistantMessage(final byte type, final byte version) {
this.type = type;
this.version = version;
}
}