be.SIRAPRISE.typeimplementations
Class InvalidValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by be.SIRAPRISE.typeimplementations.InvalidValueException
All Implemented Interfaces:
java.io.Serializable

public class InvalidValueException
extends java.lang.Exception

An InvalidTypeValueException is thrown by a TypeImplementation or a PossRepImplementation method when it is presented some string that is not a valid representation of a value of the type involved.

Author:
Erwin Smout
See Also:
Serialized Form

Constructor Summary
InvalidValueException(java.lang.String msg)
          Creates the Exception object, setting an error message
InvalidValueException(java.lang.String msg, java.lang.Exception e)
          Creates the Exception object, setting an error message and the causing exception
 
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

InvalidValueException

public InvalidValueException(java.lang.String msg)
Creates the Exception object, setting an error message

Parameters:
msg - The error message explaining the reason why the string value is invalid.

InvalidValueException

public InvalidValueException(java.lang.String msg,
                             java.lang.Exception e)
Creates the Exception object, setting an error message and the causing exception

Parameters:
msg - The error message explaining the reason why the string value is invalid.
e - The underlying cause of the InvalidValueException created.