generator.exceptions
Class IntervalNoUnionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by generator.exceptions.IntervalNoUnionException
All Implemented Interfaces:
java.io.Serializable

public class IntervalNoUnionException
extends java.lang.Exception

IntervalNoUnion Exception

This exception is thrown when invalid values are put in an interval, like an greater lower bound than upper bound. It is also thrown when requesting an integer from an interval that cannot produce one.

Copyright(c) 2005 Université Laval, LSFM research group.

Version:
1.0
Author:
Frédérick Lemay
See Also:
Serialized Form

Constructor Summary
IntervalNoUnionException(java.lang.String message)
          Default constructor ... use the provided error message.
 
Method Summary
 java.lang.String getMessage()
          Access the stored error message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

IntervalNoUnionException

public IntervalNoUnionException(java.lang.String message)
Default constructor ... use the provided error message.

Parameters:
message - a message describing the error
Method Detail

getMessage

public java.lang.String getMessage()
Access the stored error message.

Overrides:
getMessage in class java.lang.Throwable
Returns:
the stored error message