jabber.server
Class Error

java.lang.Object
  extended by jabber.server.Error

public class Error
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:ietf:params:xml:ns:xmpp-stanzas}stanzaErrorGroup"/>
         <element ref="{urn:ietf:params:xml:ns:xmpp-stanzas}text" minOccurs="0"/>
       </sequence>
       <attribute name="code" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
       <attribute name="type" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NCName">
             <enumeration value="auth"/>
             <enumeration value="cancel"/>
             <enumeration value="continue"/>
             <enumeration value="modify"/>
             <enumeration value="wait"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String badRequest
           
protected  Integer code
           
protected  String conflict
           
protected  String featureNotImplemented
           
protected  String forbidden
           
protected  String gone
           
protected  String internalServerError
           
protected  String itemNotFound
           
protected  String jidMalformed
           
protected  String notAcceptable
           
protected  String notAllowed
           
protected  String paymentRequired
           
protected  String recipientUnavailable
           
protected  String redirect
           
protected  String registrationRequired
           
protected  String remoteServerNotFound
           
protected  String remoteServerTimeout
           
protected  String resourceConstraint
           
protected  String serviceUnavailable
           
protected  String subscriptionRequired
           
protected  Text text
           
protected  String type
           
protected  String undefinedCondition
           
protected  String unexpectedRequest
           
 
Constructor Summary
Error()
           
 
Method Summary
 String getBadRequest()
          Gets the value of the badRequest property.
 Integer getCode()
          Gets the value of the code property.
 String getConflict()
          Gets the value of the conflict property.
 String getFeatureNotImplemented()
          Gets the value of the featureNotImplemented property.
 String getForbidden()
          Gets the value of the forbidden property.
 String getGone()
          Gets the value of the gone property.
 String getInternalServerError()
          Gets the value of the internalServerError property.
 String getItemNotFound()
          Gets the value of the itemNotFound property.
 String getJidMalformed()
          Gets the value of the jidMalformed property.
 String getNotAcceptable()
          Gets the value of the notAcceptable property.
 String getNotAllowed()
          Gets the value of the notAllowed property.
 String getPaymentRequired()
          Gets the value of the paymentRequired property.
 String getRecipientUnavailable()
          Gets the value of the recipientUnavailable property.
 String getRedirect()
          Gets the value of the redirect property.
 String getRegistrationRequired()
          Gets the value of the registrationRequired property.
 String getRemoteServerNotFound()
          Gets the value of the remoteServerNotFound property.
 String getRemoteServerTimeout()
          Gets the value of the remoteServerTimeout property.
 String getResourceConstraint()
          Gets the value of the resourceConstraint property.
 String getServiceUnavailable()
          Gets the value of the serviceUnavailable property.
 String getSubscriptionRequired()
          Gets the value of the subscriptionRequired property.
 Text getText()
          Gets the value of the text property.
 String getType()
          Gets the value of the type property.
 String getUndefinedCondition()
          Gets the value of the undefinedCondition property.
 String getUnexpectedRequest()
          Gets the value of the unexpectedRequest property.
 void setBadRequest(String value)
          Sets the value of the badRequest property.
 void setCode(Integer value)
          Sets the value of the code property.
 void setConflict(String value)
          Sets the value of the conflict property.
 void setFeatureNotImplemented(String value)
          Sets the value of the featureNotImplemented property.
 void setForbidden(String value)
          Sets the value of the forbidden property.
 void setGone(String value)
          Sets the value of the gone property.
 void setInternalServerError(String value)
          Sets the value of the internalServerError property.
 void setItemNotFound(String value)
          Sets the value of the itemNotFound property.
 void setJidMalformed(String value)
          Sets the value of the jidMalformed property.
 void setNotAcceptable(String value)
          Sets the value of the notAcceptable property.
 void setNotAllowed(String value)
          Sets the value of the notAllowed property.
 void setPaymentRequired(String value)
          Sets the value of the paymentRequired property.
 void setRecipientUnavailable(String value)
          Sets the value of the recipientUnavailable property.
 void setRedirect(String value)
          Sets the value of the redirect property.
 void setRegistrationRequired(String value)
          Sets the value of the registrationRequired property.
 void setRemoteServerNotFound(String value)
          Sets the value of the remoteServerNotFound property.
 void setRemoteServerTimeout(String value)
          Sets the value of the remoteServerTimeout property.
 void setResourceConstraint(String value)
          Sets the value of the resourceConstraint property.
 void setServiceUnavailable(String value)
          Sets the value of the serviceUnavailable property.
 void setSubscriptionRequired(String value)
          Sets the value of the subscriptionRequired property.
 void setText(Text value)
          Sets the value of the text property.
 void setType(String value)
          Sets the value of the type property.
 void setUndefinedCondition(String value)
          Sets the value of the undefinedCondition property.
 void setUnexpectedRequest(String value)
          Sets the value of the unexpectedRequest property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

badRequest

protected String badRequest

conflict

protected String conflict

featureNotImplemented

protected String featureNotImplemented

forbidden

protected String forbidden

gone

protected String gone

internalServerError

protected String internalServerError

itemNotFound

protected String itemNotFound

jidMalformed

protected String jidMalformed

notAcceptable

protected String notAcceptable

notAllowed

protected String notAllowed

paymentRequired

protected String paymentRequired

recipientUnavailable

protected String recipientUnavailable

redirect

protected String redirect

registrationRequired

protected String registrationRequired

remoteServerNotFound

protected String remoteServerNotFound

remoteServerTimeout

protected String remoteServerTimeout

resourceConstraint

protected String resourceConstraint

serviceUnavailable

protected String serviceUnavailable

subscriptionRequired

protected String subscriptionRequired

undefinedCondition

protected String undefinedCondition

unexpectedRequest

protected String unexpectedRequest

text

protected Text text

code

protected Integer code

type

protected String type
Constructor Detail

Error

public Error()
Method Detail

getBadRequest

public String getBadRequest()
Gets the value of the badRequest property.

Returns:
possible object is String

setBadRequest

public void setBadRequest(String value)
Sets the value of the badRequest property.

Parameters:
value - allowed object is String

getConflict

public String getConflict()
Gets the value of the conflict property.

Returns:
possible object is String

setConflict

public void setConflict(String value)
Sets the value of the conflict property.

Parameters:
value - allowed object is String

getFeatureNotImplemented

public String getFeatureNotImplemented()
Gets the value of the featureNotImplemented property.

Returns:
possible object is String

setFeatureNotImplemented

public void setFeatureNotImplemented(String value)
Sets the value of the featureNotImplemented property.

Parameters:
value - allowed object is String

getForbidden

public String getForbidden()
Gets the value of the forbidden property.

Returns:
possible object is String

setForbidden

public void setForbidden(String value)
Sets the value of the forbidden property.

Parameters:
value - allowed object is String

getGone

public String getGone()
Gets the value of the gone property.

Returns:
possible object is String

setGone

public void setGone(String value)
Sets the value of the gone property.

Parameters:
value - allowed object is String

getInternalServerError

public String getInternalServerError()
Gets the value of the internalServerError property.

Returns:
possible object is String

setInternalServerError

public void setInternalServerError(String value)
Sets the value of the internalServerError property.

Parameters:
value - allowed object is String

getItemNotFound

public String getItemNotFound()
Gets the value of the itemNotFound property.

Returns:
possible object is String

setItemNotFound

public void setItemNotFound(String value)
Sets the value of the itemNotFound property.

Parameters:
value - allowed object is String

getJidMalformed

public String getJidMalformed()
Gets the value of the jidMalformed property.

Returns:
possible object is String

setJidMalformed

public void setJidMalformed(String value)
Sets the value of the jidMalformed property.

Parameters:
value - allowed object is String

getNotAcceptable

public String getNotAcceptable()
Gets the value of the notAcceptable property.

Returns:
possible object is String

setNotAcceptable

public void setNotAcceptable(String value)
Sets the value of the notAcceptable property.

Parameters:
value - allowed object is String

getNotAllowed

public String getNotAllowed()
Gets the value of the notAllowed property.

Returns:
possible object is String

setNotAllowed

public void setNotAllowed(String value)
Sets the value of the notAllowed property.

Parameters:
value - allowed object is String

getPaymentRequired

public String getPaymentRequired()
Gets the value of the paymentRequired property.

Returns:
possible object is String

setPaymentRequired

public void setPaymentRequired(String value)
Sets the value of the paymentRequired property.

Parameters:
value - allowed object is String

getRecipientUnavailable

public String getRecipientUnavailable()
Gets the value of the recipientUnavailable property.

Returns:
possible object is String

setRecipientUnavailable

public void setRecipientUnavailable(String value)
Sets the value of the recipientUnavailable property.

Parameters:
value - allowed object is String

getRedirect

public String getRedirect()
Gets the value of the redirect property.

Returns:
possible object is String

setRedirect

public void setRedirect(String value)
Sets the value of the redirect property.

Parameters:
value - allowed object is String

getRegistrationRequired

public String getRegistrationRequired()
Gets the value of the registrationRequired property.

Returns:
possible object is String

setRegistrationRequired

public void setRegistrationRequired(String value)
Sets the value of the registrationRequired property.

Parameters:
value - allowed object is String

getRemoteServerNotFound

public String getRemoteServerNotFound()
Gets the value of the remoteServerNotFound property.

Returns:
possible object is String

setRemoteServerNotFound

public void setRemoteServerNotFound(String value)
Sets the value of the remoteServerNotFound property.

Parameters:
value - allowed object is String

getRemoteServerTimeout

public String getRemoteServerTimeout()
Gets the value of the remoteServerTimeout property.

Returns:
possible object is String

setRemoteServerTimeout

public void setRemoteServerTimeout(String value)
Sets the value of the remoteServerTimeout property.

Parameters:
value - allowed object is String

getResourceConstraint

public String getResourceConstraint()
Gets the value of the resourceConstraint property.

Returns:
possible object is String

setResourceConstraint

public void setResourceConstraint(String value)
Sets the value of the resourceConstraint property.

Parameters:
value - allowed object is String

getServiceUnavailable

public String getServiceUnavailable()
Gets the value of the serviceUnavailable property.

Returns:
possible object is String

setServiceUnavailable

public void setServiceUnavailable(String value)
Sets the value of the serviceUnavailable property.

Parameters:
value - allowed object is String

getSubscriptionRequired

public String getSubscriptionRequired()
Gets the value of the subscriptionRequired property.

Returns:
possible object is String

setSubscriptionRequired

public void setSubscriptionRequired(String value)
Sets the value of the subscriptionRequired property.

Parameters:
value - allowed object is String

getUndefinedCondition

public String getUndefinedCondition()
Gets the value of the undefinedCondition property.

Returns:
possible object is String

setUndefinedCondition

public void setUndefinedCondition(String value)
Sets the value of the undefinedCondition property.

Parameters:
value - allowed object is String

getUnexpectedRequest

public String getUnexpectedRequest()
Gets the value of the unexpectedRequest property.

Returns:
possible object is String

setUnexpectedRequest

public void setUnexpectedRequest(String value)
Sets the value of the unexpectedRequest property.

Parameters:
value - allowed object is String

getText

public Text getText()
Gets the value of the text property.

Returns:
possible object is Text

setText

public void setText(Text value)
Sets the value of the text property.

Parameters:
value - allowed object is Text

getCode

public Integer getCode()
Gets the value of the code property.

Returns:
possible object is Integer

setCode

public void setCode(Integer value)
Sets the value of the code property.

Parameters:
value - allowed object is Integer

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.