![]() |
Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
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" |
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.
| com.mendix.modules.webservices.WebserviceException.WebserviceException | ( | String | faultCode, |
| String | faultString | ||
| ) |
| faultCode | the fault code |
| faultString | the fault string |
| com.mendix.modules.webservices.WebserviceException.WebserviceException | ( | String | faultCode, |
| String | faultString, | ||
| Throwable | cause | ||
| ) |
| faultCode | the fault code |
| faultString | the fault string |
| cause | the cause |
| String com.mendix.modules.webservices.WebserviceException.getDetail | ( | ) |
| String com.mendix.modules.webservices.WebserviceException.getFaultActor | ( | ) |
| final String com.mendix.modules.webservices.WebserviceException.getFaultCode | ( | ) |
| final String com.mendix.modules.webservices.WebserviceException.getFaultString | ( | ) |
| void com.mendix.modules.webservices.WebserviceException.setDetail | ( | String | detail | ) |
| detail | the detail to set |
| void com.mendix.modules.webservices.WebserviceException.setFaultActor | ( | String | faultActor | ) |
| faultActor | the faultActor to set |
final String com.mendix.modules.webservices.WebserviceException.clientFaultCode = "Client" [static] |
final String com.mendix.modules.webservices.WebserviceException.serverFaultCode = "Server" [static] |