com.ibm.wbiserver.brules.mgmt.problem

Class ProblemWrongNumberOfParameterValues

  1. java.lang.Object
  2. extended bycom.ibm.wbiserver.brules.mgmt.problem.Problem
  3. extended bycom.ibm.wbiserver.brules.mgmt.problem.ProblemWrongNumberOfParameterValues
All implemented interfaces:
java.io.Serializable

  1. public class ProblemWrongNumberOfParameterValues
  2. extends Problem
  3. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Constructor Summary

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

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getErrorMessage()
  1. java.util.List<ParameterValue>
getParameterValues()
Get the list of parameter values specified.
  1. 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

  1. public static final java.lang.String COPYRIGHT
See Also:

Constructor Detail

ProblemWrongNumberOfParameterValues

  1. public ProblemWrongNumberOfParameterValues( Template template,
  2. 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

  1. public Template getTemplate()
Get the template involved in the error.
Returns:
The template involved in the error.

getParameterValues

  1. public java.util.List<ParameterValue> getParameterValues( )
Get the list of parameter values specified.
Returns:
The parameterValues specified.

getErrorMessage

  1. public java.lang.String getErrorMessage( )
Specified by: