Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.modules.webservices.WebserviceException Class Reference

List of all members.

Public Member Functions

 WebserviceException (String faultCode, String faultString)
 WebserviceException (String faultCode, String faultString, Throwable cause)
final String getFaultCode ()
final String getFaultString ()
String getFaultActor ()
void setFaultActor (String faultActor)
String getDetail ()
void setDetail (String detail)

Static Public Attributes

static final String clientFaultCode = "Client"
static final String serverFaultCode = "Server"

Detailed Description

An exception that can be thrown by webservices published by the Mendix application and webservice calls by the Mendix application. This exception can be thrown in custom java actions handling a published webservice call to show a custom soap fault. In the constructor, use the public field clientFaultCode or serverFaultCode to indicate a client or server error.


Constructor & Destructor Documentation

com.mendix.modules.webservices.WebserviceException.WebserviceException ( String  faultCode,
String  faultString 
)
Parameters:
faultCodethe fault code
faultStringthe fault string
com.mendix.modules.webservices.WebserviceException.WebserviceException ( String  faultCode,
String  faultString,
Throwable  cause 
)
Parameters:
faultCodethe fault code
faultStringthe fault string
causethe cause

Member Function Documentation

String com.mendix.modules.webservices.WebserviceException.getDetail ( )
Returns:
the detail
String com.mendix.modules.webservices.WebserviceException.getFaultActor ( )
Returns:
the faultActor
final String com.mendix.modules.webservices.WebserviceException.getFaultCode ( )
Returns:
the faultCode
final String com.mendix.modules.webservices.WebserviceException.getFaultString ( )
Returns:
the faultString
void com.mendix.modules.webservices.WebserviceException.setDetail ( String  detail)
Parameters:
detailthe detail to set
void com.mendix.modules.webservices.WebserviceException.setFaultActor ( String  faultActor)
Parameters:
faultActorthe faultActor to set

Member Data Documentation


The documentation for this class was generated from the following file: