public class DefaultClientErrorMapper extends Object implements ClientErrorMapper
| Modifier and Type | Field and Description |
|---|---|
static ClientErrorMapper |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
toError(ClientMessage message)
Maps client message to an exception.
|
public static final ClientErrorMapper INSTANCE
public Throwable toError(ClientMessage message)
ClientErrorMappertoError in interface ClientErrorMappermessage - the message to map to an exception.Copyright © 2015–2019. All rights reserved.