org.gcube.data.streams.exceptions
Class StreamContingencyException

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.StreamContingencyException
All Implemented Interfaces:
Serializable

public class StreamContingencyException
extends StreamException

A failure that models a recoverable contingency in a Stream iteration.

Author:
Fabio Simeoni
See Also:
Serialized Form

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

StreamContingencyException

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

Parameters:
cause - the cause

StreamContingencyException

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