javax.media
Class BadHeaderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.media.MediaException
                    |
                    +--javax.media.BadHeaderException

public class BadHeaderException
extends MediaException

A BadHeaderException is thrown by a Demultiplexer when getTracks is invoked and the header information is incomplete or inconsistent.

See Also:
Serialized Form

Constructor Summary
BadHeaderException()
          Creates a simple exception object.
BadHeaderException(java.lang.String reason)
          Creates an exception object with a specific reason.
 
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

BadHeaderException

public BadHeaderException()
Creates a simple exception object.

BadHeaderException

public BadHeaderException(java.lang.String reason)
Creates an exception object with a specific reason.
Parameters:
reason - a user readable string that describes the reason for the exception.


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.