javax.media
Class BadHeaderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.media.MediaException
                    |
                    +--javax.media.BadHeaderException
All Implemented Interfaces:
java.io.Serializable

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

Field Summary
 
Fields inherited from class java.lang.Exception
 
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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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.