JTR 5.0 API Documentation

jtr.assigner
Class MissingStdParameterException

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

public class MissingStdParameterException
extends java.lang.RuntimeException

This exception is thrown whenever an IParamsAssigner cannot find in the provided RunnerConnfig instance one of the JTR standard parameters. This means that probabily the jtr.xml configuration file is missing that information.

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

Constructor Summary
MissingStdParameterException(java.lang.String param)
          Constructs a MissingStdParameterException without a message.
MissingStdParameterException(java.lang.String message, java.lang.String param)
          Constructs a MissingStdParameterException with a detailed message.
MissingStdParameterException(java.lang.String message, java.lang.String param, java.lang.Throwable root)
          Constructs a MissingStdParameterException with a detailed message and a root cause
 
Method Summary
 java.lang.String getParam()
          Returns the missing standard parameter name.
 
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

MissingStdParameterException

public MissingStdParameterException(java.lang.String param)
Constructs a MissingStdParameterException without a message.

Parameters:
param - The missing parameter

MissingStdParameterException

public MissingStdParameterException(java.lang.String message,
                                    java.lang.String param)
Constructs a MissingStdParameterException with a detailed message.

Parameters:
message - The message associated with the exception.
param - The missing parameter

MissingStdParameterException

public MissingStdParameterException(java.lang.String message,
                                    java.lang.String param,
                                    java.lang.Throwable root)
Constructs a MissingStdParameterException with a detailed message and a root cause

Parameters:
message - String The message associated with the exception.
param - String The missing standard parameter
root - Throwable The root cause
Method Detail

getParam

public java.lang.String getParam()
Returns the missing standard parameter name.

Returns:
String The missing parameter

The JTR Project is licensed under GPL version 2