JTR 5.0 API Documentation

jtr.assigner.util
Class ParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jtr.assigner.util.ParameterException
All Implemented Interfaces:
java.io.Serializable

public class ParameterException
extends java.lang.RuntimeException

This exception is thrown when the JTR runtime is not able to properly set a property of an IRunner instance.

Since:
4.0
Version:
3.1
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
Serialized Form

Constructor Summary
ParameterException(java.lang.String msg, java.lang.Object bean, java.lang.String name, java.lang.Object value)
          Creates a new instance of ParameterException
ParameterException(java.lang.String msg, java.lang.Throwable cause, java.lang.Object bean, java.lang.String name, java.lang.Object value)
          Creates a new instance with a message and a cause.
 
Method Summary
 java.lang.Object getBean()
          Obtains the IRunner instance over which the parameter setting has failed.
 java.lang.String getName()
          Obtains the name of the property over which the parameter setting has failed.
 java.lang.Object getValue()
          Obtains the value that should have been set over the property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterException

public ParameterException(java.lang.String msg,
                          java.lang.Object bean,
                          java.lang.String name,
                          java.lang.Object value)
Creates a new instance of ParameterException

Parameters:
msg -
bean -
name -
value -

ParameterException

public ParameterException(java.lang.String msg,
                          java.lang.Throwable cause,
                          java.lang.Object bean,
                          java.lang.String name,
                          java.lang.Object value)
Creates a new instance with a message and a cause.

Parameters:
msg -
cause -
bean -
name -
value -
Method Detail

getBean

public java.lang.Object getBean()
Obtains the IRunner instance over which the parameter setting has failed.

Returns:
Object

getName

public java.lang.String getName()
Obtains the name of the property over which the parameter setting has failed.

Returns:
String

getValue

public java.lang.Object getValue()
Obtains the value that should have been set over the property.

Returns:
Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

The JTR Project is licensed under GPL version 2