Class JRValidationFault
java.lang.Object
net.sf.jasperreports.engine.design.JRValidationFault
- All Implemented Interfaces:
Serializable
A report validation fault.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fault message/description.Returns the fault source object.void
setMessage
(String message) Sets the fault message/description.void
Set the fault source.
-
Constructor Details
-
JRValidationFault
public JRValidationFault()Creates an empty fault.
-
-
Method Details
-
getMessage
Returns the fault message/description.- Returns:
- the fault description
-
setMessage
Sets the fault message/description.- Parameters:
message
- the description
-
getSource
Returns the fault source object. The source is the report object that dispalayed the fault. It can be, for instance, a (@link JRDesignVariable variable}, anexpression
, or areport element
.- Returns:
- the fault source
-
setSource
Set the fault source.- Parameters:
source
- the fault source
-