javax.emb
Class MediaException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.emb.MediaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ContentAccessException (src) , ContentTooLargeException (src) , ContentUnmutableException (src) , ConversionException (src) , IllegalOptionException (src) , LinkTranslationException (src) , ListenerVetoException (src) , LocationUnmutableException (src) , MalformedLocationException (src) , MalformedQueryException (src) , MediaFormatException (src) , MetaDataSyntaxException (src) , MetaDataValidationException (src) , NoServerFoundException (src) , UnsupportedQueryLanguageException (src) , VersionChainIntegrityException (src)

public class MediaException
extends java.lang.Exception

This exception is root to most application specific exceptions thrown by Enterprise Media Beans components. The idea is to abstract over the specific causes of exceptional behavior as the causes of such behavior can differ a lot between different Enterprise Media Beans implementations. As this would prevent applications to be written in an implementation independent way, these causes have to be mapped to a unified exception model.

See Also:
Serialized Form

Constructor Summary
MediaException()
           
MediaException(java.lang.String message)
           
MediaException(java.lang.String message, java.lang.Throwable cause)
           
MediaException(java.lang.Throwable cause)
           
 
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

MediaException

public MediaException()
See Also:
java.lang.Exception()

MediaException

public MediaException(java.lang.String message)
See Also:
java.lang.Exception(String)

MediaException

public MediaException(java.lang.String message,
                      java.lang.Throwable cause)
See Also:
java.lang.Exception(String, Throwable)

MediaException

public MediaException(java.lang.Throwable cause)
See Also:
java.lang.Exception(Throwable)