net.sf.arise.piji
Class BadArgumentException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--net.sf.arise.util.ChainingException
                    |
                    +--net.sf.arise.piji.PijiException
                          |
                          +--net.sf.arise.piji.EvaluationException
                                |
                                +--net.sf.arise.piji.BadArgumentException
All Implemented Interfaces:
java.io.Serializable

public class BadArgumentException
extends EvaluationException

Exception signalling a mismatch between the desired properties of a formal argument and the properties of an actual argument, eg. "this argument must be a list", or "first argument must be function".

Author:
Kjetil Valstadsve
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
BadArgumentException(Function function, Expression node, java.lang.String message)
           
BadArgumentException(java.lang.String message)
           
 
Methods inherited from class net.sf.arise.util.ChainingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

BadArgumentException

public BadArgumentException(java.lang.String message)

BadArgumentException

public BadArgumentException(Function function,
                            Expression node,
                            java.lang.String message)


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth