i3.dragos.exception
Class MultipleResultsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by i3.dragos.exception.DragosException
              extended by i3.dragos.exception.MultipleResultsException
All Implemented Interfaces:
java.io.Serializable

public class MultipleResultsException
extends DragosException

An MultipleResultsException is thrown when a query designed for unique results found more than one possible result. In this case, a general version of the query should be used instead (if available).

Author:
Thorsten Hermes <thermes@i3.informatik.rwth-aachen.de>
See Also:
Serialized Form

Constructor Summary
MultipleResultsException(java.lang.String message)
          Constructs a new exception with the given message.
MultipleResultsException(java.lang.String message, java.lang.Throwable throwable)
          Constructs a new exception with the given message which is wrapped around an 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultipleResultsException

public MultipleResultsException(java.lang.String message)
Constructs a new exception with the given message.

Parameters:
message - A message describing the reason of the exception.

MultipleResultsException

public MultipleResultsException(java.lang.String message,
                                java.lang.Throwable throwable)
Constructs a new exception with the given message which is wrapped around an exception.

Parameters:
message - A message describing the reason of the exception.
throwable - The exception.


Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.