de.zib.scalaris
Class NotANumberException

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

public class NotANumberException
extends OtpErlangException

Exception that is thrown if a add_del_on_list operation on a scalaris ring fails because the participating values are not numbers.

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

Constructor Summary
NotANumberException()
          Creates the exception with no message.
NotANumberException(OtpErlangObject erlValue)
          Creates an exception including the message of the given erlang object.
NotANumberException(String msg)
          Creates the exception with the given message.
NotANumberException(Throwable e)
          Creates an exception taking the message of the given throwable.
NotANumberException(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

NotANumberException

public NotANumberException()
Creates the exception with no message.


NotANumberException

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

Parameters:
msg - message of the exception

NotANumberException

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

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

NotANumberException

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

Parameters:
erlValue - the erlang message to include

NotANumberException

public NotANumberException(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