javax.media
Class ClockStartedError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--javax.media.MediaError
                    |
                    +--javax.media.ClockStartedError

public class ClockStartedError
extends MediaError

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 Also:
Player, Controller, Clock, Serialized Form

Constructor Summary
ClockStartedError()
          Construct a ClockStartedError with no message.
ClockStartedError(java.lang.String reason)
          Construct a ClockStartedError that contains the specified reason message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClockStartedError

public ClockStartedError(java.lang.String reason)
Construct a ClockStartedError that contains the specified reason message.

ClockStartedError

public ClockStartedError()
Construct a ClockStartedError with no message.


Submit a bug or feature
Copyright 1999-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.