Package org.otrs.ticketconnector
Class OTRSError
- java.lang.Object
-
- org.otrs.ticketconnector.OTRSError
-
- All Implemented Interfaces:
Serializable
public class OTRSError extends Object implements Serializable
Java class for OTRS_Error complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OTRS_Error"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringerrorCodeprotected StringerrorMessage
-
Constructor Summary
Constructors Constructor Description OTRSError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorCode()Gets the value of the errorCode property.StringgetErrorMessage()Gets the value of the errorMessage property.voidsetErrorCode(String value)Sets the value of the errorCode property.voidsetErrorMessage(String value)Sets the value of the errorMessage property.
-
-
-
Method Detail
-
getErrorCode
public String getErrorCode()
Gets the value of the errorCode property.- Returns:
- possible object is
String
-
setErrorCode
public void setErrorCode(String value)
Sets the value of the errorCode property.- Parameters:
value- allowed object isString
-
getErrorMessage
public String getErrorMessage()
Gets the value of the errorMessage property.- Returns:
- possible object is
String
-
-