public class DataStreamException extends DataException
For internal use only.
Modifier | Constructor and Description |
---|---|
|
DataStreamException()
Default constructor.
|
protected |
DataStreamException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static DataStreamException |
withCause(java.lang.RuntimeException cause)
Return a new exception with the specified root cause.
|
static DataStreamException |
withMessage(java.lang.String message)
Return a new exception with the specified message text.
|
getSafeMessage, safe, setSafeMessage
getCause, getMessage, setCause, setMessage, toString
protected DataStreamException(java.lang.String message, java.lang.Throwable cause)
public DataStreamException()
Default constructor.
public static DataStreamException withCause(java.lang.RuntimeException cause)
Return a new exception with the specified root cause.
cause
- (nullable) Root cause.public static DataStreamException withMessage(java.lang.String message)
Return a new exception with the specified message text.
message
- (nullable) Message text.