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.