Package net.sf.jasperreports.engine
Class JRRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.jasperreports.engine.JRRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidDateRangeExpressionException
,InvalidFontException
,JacksonRuntimeException
,JRFillInterruptedException
,JRFontNotFoundException
,JRInteractiveRuntimeException
,JRPdfaIccProfileNotFoundException
,PatchedPdfLibraryUnavailableException
public class JRRuntimeException extends RuntimeException
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_PREFIX
static String
EXCEPTION_MESSAGES_BUNDLE
-
Constructor Summary
Constructors Constructor Description JRRuntimeException(String message)
JRRuntimeException(String messageKey, Object... args)
JRRuntimeException(String messageKey, Object[] args, Throwable t)
JRRuntimeException(String message, Throwable t)
JRRuntimeException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGES_BUNDLE
public static final String EXCEPTION_MESSAGES_BUNDLE
- See Also:
- Constant Field Values
-
EXCEPTION_MESSAGE_KEY_PREFIX
public static final String EXCEPTION_MESSAGE_KEY_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMessageKey
public String getMessageKey()
-
getArgs
public Object[] getArgs()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getMessage
public String getMessage(JasperReportsContext jasperReportsContext, Locale locale)
-
resolveMessage
protected String resolveMessage(JasperReportsContext jasperReportsContext, Locale locale)
-
getMessageBundleName
protected String getMessageBundleName()
-
getMessageKeyPrefix
protected String getMessageKeyPrefix()
-
-