/*
 * Created on 19-apr-2004
 */
package jaCop.exceptions;

/**
 * @author Lompa
 */
public class UnexpectedPacketTypeException extends JaCOPException {
	
	private String type = null;
	
	/**
	 * @param msg
	 */
	public UnexpectedPacketTypeException(String type){
		this.type = type;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Throwable#getMessage()
	 */
	public String getMessage(){ return "unexpected packet type: " + this.type; }
	
}
