Package org.jboss.jca.validator
Class Failure
java.lang.Object
org.jboss.jca.validator.Failure
- All Implemented Interfaces:
Serializable
Failure
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasText(ResourceBundle rb) As textasXML(ResourceBundle rb) As XMLbooleangetCode()Get the codeGet the descriptionGet the sectionintGet the severityinthashCode()toString()
-
Constructor Details
-
Failure
Constructor- Parameters:
severity- The severitysection- The sectiondescription- The description
-
Failure
Constructor- Parameters:
severity- The severitysection- The sectiondescription- The descriptioncode- The code
-
-
Method Details
-
getSeverity
public int getSeverity()Get the severity- Returns:
- The severity
-
getSection
Get the section- Returns:
- The section
-
getDescription
Get the description- Returns:
- The description
-
getCode
Get the code- Returns:
- The code
-
asText
As text- Parameters:
rb- The resource bundle- Returns:
- The text representation
-
asXML
As XML- Parameters:
rb- The resource bundle- Returns:
- The XML representation
-
hashCode
public int hashCode() -
equals
-
toString
-