Module jp.ecuacion.lib.core
Class BizLogicAppException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jp.ecuacion.lib.core.exception.checked.AppException
jp.ecuacion.lib.core.exception.checked.SingleAppException
jp.ecuacion.lib.core.exception.checked.BizLogicAppException
- All Implemented Interfaces:
Serializable
Is used for buziness logic exceptions.
Messages are designated by messageId, which is defined in messages[_xxx].properties.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBizLogicAppException(String messageId, String... messageArgs) Constructs a new instance withmessageIdandmessageArgs.BizLogicAppException(AppExceptionFields fields, String messageId, String... messageArgs) Constructs a new instance withlocale,fields,messageIdandmessageArgs. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BizLogicAppException
Constructs a new instance withmessageIdandmessageArgs.- Parameters:
messageId- message IDmessageArgs- message Arguments
-
BizLogicAppException
public BizLogicAppException(@Nullable AppExceptionFields fields, @Nonnull String messageId, @Nonnull String... messageArgs) Constructs a new instance withlocale,fields,messageIdandmessageArgs.- Parameters:
fields- the fields related to the execeptionmessageId- message IDmessageArgs- message Arguments
-
-
Method Details
-
getErrorFields
Gets fields.- Returns:
- fields
-
getMessageId
Gets messageId.- Returns:
- messageId
-
getMessageArgs
Gets messageArgs.- Returns:
- messageArgs
-