Elexis API documentation
Version 2.1.6 as of December 11 2011

waelti.statistics.queries
Class SetDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by waelti.statistics.queries.SetDataException
All Implemented Interfaces:
java.io.Serializable

public class SetDataException
extends java.lang.Exception

This class is used to represent any input errors in the QueryInputDialog. This exception is thrown by the methods annotated with SetProperty tags in the query classes. Therefore the whole input handling is done by these classes and not the input dialog since the view cannot know which values are valid and which are not. The value of the exception message will be displayed to the user.

Author:
michael waelti
See Also:
Annotation, (example), Serialized Form

Constructor Summary
SetDataException(java.lang.String message)
          This exception is thrown by a query if any of the annotated methods can't handle the input string.
 
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

SetDataException

public SetDataException(java.lang.String message)
This exception is thrown by a query if any of the annotated methods can't handle the input string. The message is printed to the output.

Parameters:
message - error message to be displayed to the user in the UI.

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis