javax.media.jai.remote
Class RemoteImagingException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjavax.media.jai.util.ImagingException
                  extended byjavax.media.jai.remote.RemoteImagingException
All Implemented Interfaces:
Serializable

public class RemoteImagingException
extends ImagingException

RemoteImagingException is an Exception thrown to indicate that an error condition was encountered during remote image processing. All methods which might encounter error conditions during remote image processing should be tagged as throwing this exception, as this is something an application might want to catch.

From JAI 1.1.2 on, this class is re-parented to ImagingException which behaves as a chained exception. Thus, the cause of a RemoteImagingException can be retrieved by using the method getCause.

Since:
JAI 1.1
See Also:
Serialized Form

Constructor Summary
RemoteImagingException()
          Constructs a RemoteImagingException with no detail message.
RemoteImagingException(String message)
          Constructs a RemoteImagingException with the specified detail message.
RemoteImagingException(String message, Throwable cause)
          The constructor to accept the cause of this RemoteImagingException and the message that describes the situation.
RemoteImagingException(Throwable cause)
          Constructs a RemoteImagingException with the provided cause.
 
Methods inherited from class javax.media.jai.util.ImagingException
getCause, getRootCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteImagingException

public RemoteImagingException()
Constructs a RemoteImagingException with no detail message. A detail message is a String that describes this particular exception.


RemoteImagingException

public RemoteImagingException(String message)
Constructs a RemoteImagingException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
message - the String that contains a detailed message.

RemoteImagingException

public RemoteImagingException(Throwable cause)
Constructs a RemoteImagingException with the provided cause.

Parameters:
cause - The cause of this RemoteImagingException.
Since:
JAI 1.1.2

RemoteImagingException

public RemoteImagingException(String message,
                              Throwable cause)
The constructor to accept the cause of this RemoteImagingException and the message that describes the situation.

Parameters:
message - The message that describes the situation.
cause - The cause of this RemoteImagingException
Since:
JAI 1.1.2