public class Failure extends Object implements Serializable
Constructor and Description |
---|
Failure(int severity,
String section,
String description)
Constructor
|
Failure(int severity,
String section,
String description,
String code)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
asText(ResourceBundle rb)
As text
|
String |
asXML(ResourceBundle rb)
As XML
|
boolean |
equals(Object obj) |
String |
getCode()
Get the code
|
String |
getDescription()
Get the description
|
String |
getSection()
Get the section
|
int |
getSeverity()
Get the severity
|
int |
hashCode() |
String |
toString() |
public Failure(int severity, String section, String description)
severity
- The severitysection
- The sectiondescription
- The descriptionpublic int getSeverity()
public String getSection()
public String getDescription()
public String getCode()
public String asText(ResourceBundle rb)
rb
- The resource bundlepublic String asXML(ResourceBundle rb)
rb
- The resource bundlepublic int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2021 JBoss by Red Hat. All rights reserved.