public class MessageException extends RuntimeException
MessageException
from Decorator
.Modifier | Constructor and Description |
---|---|
protected |
MessageException(String s) |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace()
Does not fill in the stack trace
|
String |
l10nKey() |
Collection<Object> |
l10nParams() |
static MessageException |
of(String message) |
static MessageException |
of(String message,
Throwable cause) |
static MessageException |
ofL10n(String l10nKey,
Object... l10nParams) |
String |
toString() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
protected MessageException(String s)
public static MessageException of(String message, Throwable cause)
public static MessageException of(String message)
public static MessageException ofL10n(String l10nKey, Object... l10nParams)
public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
Throwable.fillInStackTrace()
@CheckForNull public String l10nKey()
@CheckForNull public Collection<Object> l10nParams()
Copyright © 2009–2018 SonarSource. All rights reserved.