org.spaceroots.mantissa.functions
Class FunctionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.spaceroots.mantissa.MantissaException
              extended byorg.spaceroots.mantissa.functions.FunctionException
All Implemented Interfaces:
Serializable

public class FunctionException
extends MantissaException

This class represents exceptions thrown by scalar functions.

Version:
$Id: FunctionException.java 1686 2005-12-16 12:59:51Z luc $
Author:
L. Maisonobe
See Also:
Serialized Form

Constructor Summary
FunctionException(String message)
          Simple constructor.
FunctionException(String specifier, String[] parts)
          Simple constructor.
FunctionException(Throwable cause)
          Simple constructor.
 
Methods inherited from class org.spaceroots.mantissa.MantissaException
translate, translate
 
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

FunctionException

public FunctionException(String specifier,
                         String[] parts)
Simple constructor. Build an exception by translating and formating a message

Parameters:
specifier - format specifier (to be translated)
parts - to insert in the format (no translation)

FunctionException

public FunctionException(String message)
Simple constructor. Build an exception by translating the specified message

Parameters:
message - message to translate

FunctionException

public FunctionException(Throwable cause)
Simple constructor. Build an exception from a cause

Parameters:
cause - cause of this exception


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.