public class JRRuntimeException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_PREFIX |
static String |
EXCEPTION_MESSAGES_BUNDLE |
| Constructor and Description |
|---|
JRRuntimeException(String message) |
JRRuntimeException(String messageKey,
Object[] args) |
JRRuntimeException(String messageKey,
Object[] args,
JasperReportsContext jasperReportsContext,
Locale locale)
Deprecated.
Replaced by
JRRuntimeException(String, Object[]). |
JRRuntimeException(String messageKey,
Object[] args,
Throwable t) |
JRRuntimeException(String message,
Throwable t) |
JRRuntimeException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArgs() |
String |
getMessage() |
String |
getMessage(JasperReportsContext jasperReportsContext,
Locale locale) |
protected String |
getMessageBundleName() |
String |
getMessageKey() |
protected String |
getMessageKeyPrefix() |
protected String |
resolveMessage(JasperReportsContext jasperReportsContext,
Locale locale) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String EXCEPTION_MESSAGES_BUNDLE
public static final String EXCEPTION_MESSAGE_KEY_PREFIX
public JRRuntimeException(String message)
public JRRuntimeException(Throwable t)
public JRRuntimeException(String messageKey, Object[] args, JasperReportsContext jasperReportsContext, Locale locale)
JRRuntimeException(String, Object[]).public String getMessageKey()
public Object[] getArgs()
public String getMessage()
getMessage in class Throwablepublic String getMessage(JasperReportsContext jasperReportsContext, Locale locale)
protected String resolveMessage(JasperReportsContext jasperReportsContext, Locale locale)
protected String getMessageBundleName()
protected String getMessageKeyPrefix()
Copyright © 2017. All rights reserved.