
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 ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public String toString()
toString in class ObjectObject.toString()Copyright 2015 IronJacamar (http://www.ironjacamar.org)