com.liferay.portal.xmlrpc
Class FaultImpl

java.lang.Object
  extended by com.liferay.portal.xmlrpc.FaultImpl
All Implemented Interfaces:
com.liferay.portal.kernel.xmlrpc.Fault, com.liferay.portal.kernel.xmlrpc.Response

public class FaultImpl
extends java.lang.Object
implements com.liferay.portal.kernel.xmlrpc.Fault

View Source

Author:
Alexander Chow, Brian Wing Shun Chan

Constructor Summary
FaultImpl(int code, java.lang.String description)
           
 
Method Summary
 int getCode()
           
 java.lang.String getDescription()
           
 java.lang.String toString()
           
 java.lang.String toXml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FaultImpl

public FaultImpl(int code,
                 java.lang.String description)
Method Detail

getCode

public int getCode()
Specified by:
getCode in interface com.liferay.portal.kernel.xmlrpc.Fault

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface com.liferay.portal.kernel.xmlrpc.Response

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXml

public java.lang.String toXml()
                       throws com.liferay.portal.kernel.xmlrpc.XmlRpcException
Specified by:
toXml in interface com.liferay.portal.kernel.xmlrpc.Response
Throws:
com.liferay.portal.kernel.xmlrpc.XmlRpcException