Class BGMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.bgerp.app.exception.BGMessageException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BGIllegalArgumentException, BGMessageExceptionWithoutL10n
Localized message, shown to end user and not written in log.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBGMessageException(String pattern, Object... args) Constructor with default kernel + plugin localizer.BGMessageException(Localizer lInternal, String pattern, Object... args) Constructor with internal localizer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanProvides exception's message with substituted pattern, but without localization likegetMessage(Localizer)does.Provides exception's message with substituted pattern, but without localization likegetMessage(Localizer)does.getMessage(Localizer lExternal) Provides localized message used internal localizedlInternal, case if exists, orlExternal.inthashCode()toString()Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
BGMessageException
-
BGMessageException
-
-
Method Details
-
getMessage
-
getLocalizedMessage
Provides exception's message with substituted pattern, but without localization likegetMessage(Localizer)does. The method should not be normally called, produces WARN to log output.- Overrides:
getLocalizedMessagein classThrowable- Returns:
-
getMessage
Provides exception's message with substituted pattern, but without localization likegetMessage(Localizer)does. The method should not be normally called, produces WARN to log output.- Overrides:
getMessagein classThrowable- Returns:
-
toString
-
hashCode
-
equals
-