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

/**
 * @author Lompa
 */
public class UnexpectedPacketTypeException extends A3Exception {
	
	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; }
	
}
