org.gcube.data.streams.exceptions
Class StreamException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gcube.data.streams.exceptions.StreamException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StreamOpenException, StreamPublishException, StreamSkipSignal

public class StreamException
extends RuntimeException

A failure that occurs when first accessing a Stream.

Author:
Fabio Simeoni
See Also:
Serialized Form

Constructor Summary
StreamException()
          Creates an instance.
StreamException(String msg, Throwable cause)
          Creates an instance with a given message and a given cause.
StreamException(Throwable cause)
          Creates an instance with a given cause.
 
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

StreamException

public StreamException()
Creates an instance.


StreamException

public StreamException(Throwable cause)
Creates an instance with a given cause.

Parameters:
cause - the cause

StreamException

public StreamException(String msg,
                       Throwable cause)
Creates an instance with a given message and a given cause.

Parameters:
msg - the message
cause - the cause


Copyright © 2012. All Rights Reserved.