com.unitesk.atp.text.generation
Class UndefinedFunctionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.unitesk.atp.text.generation.UndefinedFunctionException
All Implemented Interfaces:
Serializable

public class UndefinedFunctionException
extends RuntimeException

This exception reports about undefined function in pattern of Generator.txt(String) method.

Version:
$Id: UndefinedFunctionException.java,v 1.1 2004/10/09 06:38:29 all-x Exp $
Author:
Alexey Demakov
See Also:
Serialized Form

Constructor Summary
UndefinedFunctionException(String pattern, String func)
          Constructs an exception with the specified parameter values.
 
Method Summary
 String getFunc()
           
 String getMessage()
           
 String getPattern()
           
 
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

UndefinedFunctionException

public UndefinedFunctionException(String pattern,
                                  String func)
Constructs an exception with the specified parameter values.

Parameters:
pattern - String containing function name.
func - Function name.
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getPattern

public String getPattern()
Returns:
Returns pattern string containing function name.

getFunc

public String getFunc()
Returns:
Returns function name.


Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.