FileDocCategorySizeDatePackage
IncompatibleTimeBaseException.javaAPI DocJMF 2.1.1e1001Mon May 12 12:20:36 BST 2003javax.media

IncompatibleTimeBaseException.java

/*
 * @(#)IncompatibleTimeBaseException.java	1.2 02/08/21
 *
 * Copyright (c) 1996-2002 Sun Microsystems, Inc.  All rights reserved.
 */

package javax.media;

/**
 * An <CODE>IncompatibleTimeBaseException</CODE> is generated 
 * when <CODE>Clock.setTimeBase</CODE> is invoked
 * using a <CODE>TimeBase</CODE> that the <CODE>Clock</CODE> cannot support.
 * This happens for certain types of <CODE>Players</CODE> that
 * can only be driven by their own internal clocks, such as
 * certain commercial video servers.
 * <p>
 *
 * <B>Note:</B> A <CODE>Player</CODE> might throw this exception when 
 * <CODE>addController</CODE> is called
 * because of the implied <CODE>setTimeBase</CODE> in <CODE>addController</CODE>.
 *
 * @see Clock
 * @see Player
 * @version 1.2, 02/08/21.
 *
 */

public class IncompatibleTimeBaseException extends MediaException {

    public IncompatibleTimeBaseException() {
	super();
    }
    
    public IncompatibleTimeBaseException(String reason) {
	super(reason);
    }
}