All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.media.ClockStartedError Maven / Gradle / Ivy

The newest version!
/*
 * @(#)ClockStartedError.java	1.17 98/03/28
 *
 * Copyright 1996-1998 by Sun Microsystems, Inc.,
 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Sun Microsystems, Inc. ("Confidential Information").  You
 * shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sun.
 */

package javax.media;

/**
 * ClockStartedError is thrown by a Started Clock 
 * when a method is invoked that is not legal on a Clock in the Started 
 * state.  For example, this error is thrown if syncStart or 
 * setTimeBase is invoked on a Started Clock.
 * ClockStartedError is also thrown if addController is 
 * invoked on a Started Player.
 *
 * @see Player
 * @see Controller
 * @see Clock
 * @version 1.17, 98/03/28.
 */

public class ClockStartedError extends MediaError {

    /**
     * Construct a ClockStartedError that contains the specified reason message.
     */
    public ClockStartedError(String reason) {
       super(reason);
    }

    /**
     * Construct a ClockStartedError with no message.
     */
    public ClockStartedError() {
	super();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy