public final class Exceptions extends Object
Modifier and Type | Method and Description |
---|---|
static RuntimeException |
from(Frame frame)
Create a
RSocketException from a Frame that matches the error code it contains. |
public static RuntimeException from(Frame frame)
RSocketException
from a Frame
that matches the error code it contains.frame
- the frame to retrieve the error code and message fromRSocketException
that matches the error code in the Frame
NullPointerException
- if frame
is null