IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.problem
Class ProblemWrongNumberOfParameterValues

java.lang.Object
  extended by com.ibm.wbiserver.brules.mgmt.problem.Problem
      extended by com.ibm.wbiserver.brules.mgmt.problem.ProblemWrongNumberOfParameterValues
All Implemented Interfaces:
java.io.Serializable

public class ProblemWrongNumberOfParameterValues
extends Problem
implements java.io.Serializable

Problem class representing the error that the number of parameter values specified does not equal the number of parameters. This error can happen when creating a template instance rule or a template instance expression from a template and the wrong number of parameters is specified.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ProblemWrongNumberOfParameterValues(Template template, java.util.List<ParameterValue> parameterValues)
          Constructor for the ProblemWrongNumberOfParameterValues class.
 
Method Summary
 java.lang.String getErrorMessage()
           
 java.util.List<ParameterValue> getParameterValues()
          Get the list of parameter values specified.
 Template getTemplate()
          Get the template involved in the error.
 
Methods inherited from class com.ibm.wbiserver.brules.mgmt.problem.Problem
getErrorType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ProblemWrongNumberOfParameterValues

public ProblemWrongNumberOfParameterValues(Template template,
                                           java.util.List<ParameterValue> parameterValues)
Constructor for the ProblemWrongNumberOfParameterValues class.

Parameters:
template - The template involved in the error.
parameterValues - The list of parameter values specified.
Method Detail

getTemplate

public Template getTemplate()
Get the template involved in the error.

Returns:
The template involved in the error.

getParameterValues

public java.util.List<ParameterValue> getParameterValues()
Get the list of parameter values specified.

Returns:
The parameterValues specified.

getErrorMessage

public java.lang.String getErrorMessage()
Specified by:
getErrorMessage in class Problem

IBM WebSphere Application ServerTM
Release 7