ExceptionHandlingThrowResult Class
- java.
lang. Object - ExceptionHandlingResult
- microsoft.
servicefabric. services. communication. client. ExceptionHandlingThrowResult
- microsoft.
public class ExceptionHandlingThrowResult extends ExceptionHandlingResult
Specifies the exception handling result when the request from client to service cannot be retried
Method Summary
Modifier and Type | Method and Description |
---|---|
Throwable |
getExceptionToThrow()
The exception that should be thrown to the client. |
void |
setExceptionToThrow(Throwable exception)
The exception that should be thrown to the client. |
Method Details
getExceptionToThrow
public Throwable getExceptionToThrow()
The exception that should be thrown to the client.
Returns:
Exception to throw
setExceptionToThrow
public void setExceptionToThrow(Throwable exception)
The exception that should be thrown to the client.
Parameters:
exception
- Exception to throw
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java