fi.helsinki.cs.ohtu.mpeg2.util
Class TooWideValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by fi.helsinki.cs.ohtu.mpeg2.util.TooWideValueException
All Implemented Interfaces:
java.io.Serializable

public class TooWideValueException
extends java.lang.RuntimeException

Signals that it has been attempted to set an integer field to a too wide value. The MPEG bitstream syntax includes numerous fields the size of which doesn't map too well to any particular Java integer type. Therefore, the next bigger Java type has to be used to exhange the values of these fields with the library users. This exception is raised when a value wider than specified for a given field of this kind is given to be set as the field's value.

See Also:
Serialized Form

Constructor Summary
TooWideValueException()
          Constructs a TooWideValueException with null as its detail error message.
TooWideValueException(java.lang.String message)
          Constructs a TooWideValueException with the given message as its detail error message.
 
Method Summary
 
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

TooWideValueException

public TooWideValueException()
Constructs a TooWideValueException with null as its detail error message.

See Also:
RuntimeException.RuntimeException()

TooWideValueException

public TooWideValueException(java.lang.String message)
Constructs a TooWideValueException with the given message as its detail error message.

Parameters:
message - The detail error message.
See Also:
RuntimeException.RuntimeException(String)