Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.xcap.model.xcaperror
Class BaseXCapError

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.xcap.model.xcaperror.BaseXCapError
All Implemented Interfaces:
XCapError
Direct Known Subclasses:
CannotDeleteType, CannotInsertType, ConstraintFailureType, ExtensionType, NoParentType, NotUtf8Type, NotWellFormedType, NotXmlAttValueType, NotXmlFragType, SchemaValidationErrorType, UniquenessFailureType

public abstract class BaseXCapError
extends Object
implements XCapError

The base XCAP error.

Author:
Grigorii Balutsel

Constructor Summary
BaseXCapError(String phrase)
          Creates the XCAP error with phrase attribute.
 
Method Summary
 String getPhrase()
          Gets the phrase attribute.
(package private)  void setPhrase(String phrase)
          Sets the value of the phrase property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseXCapError

public BaseXCapError(String phrase)
Creates the XCAP error with phrase attribute.

Parameters:
phrase - the phrase to set.
Method Detail

getPhrase

public String getPhrase()
Gets the phrase attribute.

Specified by:
getPhrase in interface XCapError
Returns:
User readable error description.

setPhrase

void setPhrase(String phrase)
Sets the value of the phrase property.

Parameters:
phrase - the phrase to set.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.