Package com.iizix.prop
Class PropVerificationError
java.lang.Object
com.iizix.prop.PropVerificationError
Class used to hold information about a verification error of a property container.
- Author:
- Christopher Mindus
- Nested Class SummaryNested Classes
- Field SummaryFields
- Constructor SummaryConstructorsConstructorDescription- PropVerificationError- (PropCnr parent, Atom childName, PropVerificationError.Severity severity, String location, String errorText, String... quickFixes) Constructs an error for a child property.- PropVerificationError- (PropCnr parent, String childName, PropVerificationError.Severity severity, String location, String errorText, String... quickFixes) Constructs an error for a child property.- PropVerificationError- (String id, PropVerificationError.Severity severity, String location, GProp<?> property, String errorText, String... quickFixes) The standard constructor for a property in error.
- Method SummaryModifier and TypeMethodDescriptionGets the error item for the property error.
- Field Details- severityThe severity of the error.
- propertyThe property causing the error.
- errorTextThe error text.
- idThe ID of the error.
- locationLocation, or null for none.
- quickFixesQuick fixes, or null for none.
 
- Constructor Details- PropVerificationErrorpublic PropVerificationError- (String id, PropVerificationError.Severity severity, String location, GProp<?> property, String errorText, String... quickFixes) The standard constructor for a property in error.- Parameters:
- id- The unique ID of the error.
- severity- The severity of the problem.
- location- The location.
- property- The property in error.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- NullPointerException- If id, severity, property or errorText is null.
 
- PropVerificationErrorpublic PropVerificationError- (PropCnr parent, Atom childName, PropVerificationError.Severity severity, String location, String errorText, String... quickFixes) Constructs an error for a child property. This error can only be added once in the parent container.- Parameters:
- parent- The parent property.
- childName- The name of the child property.
- severity- The severity of the problem.
- location- The location.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- NullPointerException- If parent, childName, id, severity or errorText is null.
 
- PropVerificationErrorpublic PropVerificationError- (PropCnr parent, String childName, PropVerificationError.Severity severity, String location, String errorText, String... quickFixes) Constructs an error for a child property. This error can only be added once in the parent container.- Parameters:
- parent- The parent property.
- childName- The name of the child property.
- severity- The severity of the problem.
- location- The location.
- errorText- The error text description.
- quickFixes- A list of optional quick fixes.
- Throws:
- NullPointerException- If parent, childName, id, severity or errorText is null.
 
 
- Method Details- getPropErrorItemGets the error item for the property error.