Class Fault

Object
com.liferay.portal.xmlrpc.Fault
All Implemented Interfaces:
com.liferay.portal.kernel.xmlrpc.Response

public class Fault extends Object implements com.liferay.portal.kernel.xmlrpc.Response
Author:
Alexander Chow, Brian Wing Shun Chan
  • Constructor Details

    • Fault

      public Fault(int code, String description)
  • Method Details

    • getCode

      public int getCode()
    • getDescription

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

      public String toString()
      Overrides:
      toString in class Object
    • toXml

      public 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