org.objectweb.fractal.task.core.composition
Class NullParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.objectweb.fractal.task.core.composition.FunctionExecutionException
org.objectweb.fractal.task.core.composition.NullParameterException
- All Implemented Interfaces:
- java.io.Serializable
public class NullParameterException
- extends FunctionExecutionException
Exception thrown when a Function
is called with a null
parameter.
- See Also:
- Serialized Form
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 |
NullParameterException
public NullParameterException(Function function,
int paramIndex)
- Creates a new
NullParameterException
.
- Parameters:
function
- the function object that has been invoked with an invalid
parameter.paramIndex
- the index of the invalid parameter.
NullParameterException
public NullParameterException(Function function,
int paramIndex,
java.lang.String message)
- Creates a new
NullParameterException
.
- Parameters:
function
- the function object that has been invoked with an invalid
parameter.paramIndex
- the index of the invalid parameter.message
- an additional message.
getParamIndex
public int getParamIndex()
- Returns:
- the index of the
null
parameter.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
Copyright © 2007-2009 ObjectWeb Consortium. All Rights Reserved.