Class Failure

java.lang.Object
org.jboss.jca.validator.Failure
All Implemented Interfaces:
Serializable

public class Failure extends Object implements Serializable
Failure
See Also:
  • Constructor Details

    • Failure

      public Failure(int severity, String section, String description)
      Constructor
      Parameters:
      severity - The severity
      section - The section
      description - The description
    • Failure

      public Failure(int severity, String section, String description, String code)
      Constructor
      Parameters:
      severity - The severity
      section - The section
      description - The description
      code - The code
  • Method Details

    • getSeverity

      public int getSeverity()
      Get the severity
      Returns:
      The severity
    • getSection

      public String getSection()
      Get the section
      Returns:
      The section
    • getDescription

      public String getDescription()
      Get the description
      Returns:
      The description
    • getCode

      public String getCode()
      Get the code
      Returns:
      The code
    • asText

      public String asText(ResourceBundle rb)
      As text
      Parameters:
      rb - The resource bundle
      Returns:
      The text representation
    • asXML

      public String asXML(ResourceBundle rb)
      As XML
      Parameters:
      rb - The resource bundle
      Returns:
      The XML representation
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: