IBM WebSphere Application ServerTM
Release 8

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

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

public class ProblemRuleBlockContainsNoRules
extends Problem
implements java.io.Serializable

Problem class representing the error that the rule block contains no rules. A rule block must contain at least one rule.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ProblemRuleBlockContainsNoRules(RuleBlock ruleBlock)
          Constructor for the ProblemRuleBlockContainsNoRules class.
 
Method Summary
 java.lang.String getErrorMessage()
           
 RuleBlock getRuleBlock()
          Get the rule block that contains no rules.
 
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

ProblemRuleBlockContainsNoRules

public ProblemRuleBlockContainsNoRules(RuleBlock ruleBlock)
Constructor for the ProblemRuleBlockContainsNoRules class.

Parameters:
ruleBlock - The rule block that contains no rules.
Method Detail

getRuleBlock

public RuleBlock getRuleBlock()
Get the rule block that contains no rules.

Returns:
The rule block that contains no rules.

getErrorMessage

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

IBM WebSphere Application ServerTM
Release 8