de.zib.scalaris
Class EmptyListException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ericsson.otp.erlang.OtpException
              extended by com.ericsson.otp.erlang.OtpErlangException
                  extended by de.zib.scalaris.EmptyListException
All Implemented Interfaces:
Serializable

public class EmptyListException
extends OtpErlangException

Exception that is thrown if a read of a random list element on a scalaris ring fails because the participating values are empty lists.

Since:
3.18
Version:
3.18
Author:
Nico Kruber, kruber@zib.de
See Also:
Serialized Form

Constructor Summary
EmptyListException()
          Creates the exception with no message.
EmptyListException(OtpErlangObject erlValue)
          Creates an exception including the message of the given erlang object.
EmptyListException(String msg)
          Creates the exception with the given message.
EmptyListException(Throwable e)
          Creates an exception taking the message of the given throwable.
EmptyListException(Throwable e, OtpErlangObject erlValue)
          Creates an exception taking the message of the given throwable.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmptyListException

public EmptyListException()
Creates the exception with no message.


EmptyListException

public EmptyListException(String msg)
Creates the exception with the given message.

Parameters:
msg - message of the exception

EmptyListException

public EmptyListException(Throwable e)
Creates an exception taking the message of the given throwable.

Parameters:
e - the exception to "re-throw"

EmptyListException

public EmptyListException(OtpErlangObject erlValue)
Creates an exception including the message of the given erlang object.

Parameters:
erlValue - the erlang message to include

EmptyListException

public EmptyListException(Throwable e,
                          OtpErlangObject erlValue)
Creates an exception taking the message of the given throwable.

Parameters:
e - the exception to "re-throw"
erlValue - the string representation of this erlang value is included into the message