// Copyright 2001, FreeHEP.
package org.freehep.util.io;
import java.io.IOException;
/**
* Exception for the TaggedOutputStream. Signals that the user tries to write a
* tag which is not defined at this version or below.
*
* @author Mark Donszelmann
* @author Charles Loomis
* @version $Id: UndefinedTagException.java 8584 2006-08-10 23:06:37Z duns $
*/
public class UndefinedTagException extends IOException {
/**
*
*/
private static final long serialVersionUID = 7504997713135869344L;
/**
* Create an Undefined Tag Exception.
*/
public UndefinedTagException() {
super();
}
/**
* Create an Undefined Tag Exception.
* @param msg message
*/
public UndefinedTagException(String msg) {
super(msg);
}
/**
* Create an Undefined Tag Exception.
* @param code undefined tagID
*/
public UndefinedTagException(int code) {
super("Code: (" + code + ")");
}
}