public class ServiceFaultException extends ServiceResultException
ServiceFault into an exception.statusCode, text| Constructor and Description |
|---|
ServiceFaultException(ServiceFault serviceFault)
Constructor for ServiceFaultException.
|
ServiceFaultException(Throwable t)
Constructor for ServiceFaultException.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceFault |
createServiceFault(UnsignedInteger statusCode)
Creates
ServiceFault based on the given numeric StatusCode. |
String |
getMessage() |
ServiceFault |
getServiceFault()
Getter for the field
serviceFault. |
StatusCode |
getStatusCode()
getStatusCode.
|
static ServiceFault |
toServiceFault(Throwable throwable)
Gathers info from an exception and puts the description into a new ServiceFault.
|
String |
toString() |
getAdditionalTextField, toServiceResultaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ServiceFaultException(ServiceFault serviceFault)
Constructor for ServiceFaultException.
serviceFault - a ServiceFault object.public static ServiceFault createServiceFault(UnsignedInteger statusCode)
ServiceFault based on the given numeric StatusCode.public static ServiceFault toServiceFault(Throwable throwable)
throwable - a ServiceResultException or Throwable (Bad_InternalError)public String getMessage()
getMessage in class ServiceResultExceptionpublic ServiceFault getServiceFault()
Getter for the field serviceFault.
ServiceFault object.public StatusCode getStatusCode()
getStatusCode.
getStatusCode in class ServiceResultExceptionStatusCode object.Copyright © 2026. All rights reserved.