Package org.openbravo.erpCommon.utility
Class OBError
- java.lang.Object
-
- org.openbravo.erpCommon.utility.OBError
-
- All Implemented Interfaces:
Serializable
public class OBError extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OBError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getTitle()
String
getType()
boolean
isConnectionAvailable()
boolean
isEmpty()
void
setConnectionAvailable(boolean connectionAvailable)
void
setError(OBError e)
void
setMessage(String message)
void
setTitle(String title)
void
setType(String type)
org.codehaus.jettison.json.JSONObject
toJSON()
Map<String,String>
toMap()
-
-
-
Method Detail
-
setType
public void setType(String type)
-
getType
public String getType()
-
setTitle
public void setTitle(String title)
-
getTitle
public String getTitle()
-
setMessage
public void setMessage(String message)
-
getMessage
public String getMessage()
-
setConnectionAvailable
public void setConnectionAvailable(boolean connectionAvailable)
-
isEmpty
public boolean isEmpty()
-
setError
public void setError(OBError e)
-
isConnectionAvailable
public boolean isConnectionAvailable()
-
toJSON
public org.codehaus.jettison.json.JSONObject toJSON()
-
-