org.gcube.data.streams.exceptions
Class StreamOpenException

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
                  extended by org.gcube.data.streams.exceptions.StreamOpenException
All Implemented Interfaces:
Serializable

public class StreamOpenException
extends StreamException

A failure that occurs when a Stream cannot be opened.

Author:
Fabio Simeoni
See Also:
Serialized Form

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

StreamOpenException

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

Parameters:
cause - the cause

StreamOpenException

public StreamOpenException(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.