Module jp.ecuacion.lib.core
Class RuntimeExceptionWithMessageId
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jp.ecuacion.lib.core.exception.unchecked.RuntimeExceptionWithMessageId
- All Implemented Interfaces:
Serializable
Deprecated.
Is used when you want to throw RuntimeException, but message is deifned in .properties.
When you want throw RuntimeException, you can use RuntimeSystemException.
So it is not clear when to use RuntimeExceptionWithMessageId,
but it is kept for the time being. May be deprecated in the future.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeExceptionWithMessageId(String messageId, String... messageArgs) Deprecated.Constructs a new instance withmessageIdandmessageArgs.RuntimeExceptionWithMessageId(String messageId, PropertyFileUtil.Arg[] messageArgs) Deprecated.Constructs a new instance withmessageIdandmessageArgs. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Gets messageArgs.Deprecated.Gets messageId.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RuntimeExceptionWithMessageId
Deprecated.Constructs a new instance withmessageIdandmessageArgs.- Parameters:
messageId- message IDmessageArgs- message Arguments
-
RuntimeExceptionWithMessageId
public RuntimeExceptionWithMessageId(@Nonnull String messageId, @Nonnull PropertyFileUtil.Arg[] messageArgs) Deprecated.Constructs a new instance withmessageIdandmessageArgs.- Parameters:
messageId- message IDmessageArgs- message Arguments
-
-
Method Details
-
getMessage
Deprecated.- Overrides:
getMessagein classThrowable
-
getMessageId
Deprecated.Gets messageId.- Returns:
- message ID
-
getMessageArgs
Deprecated.Gets messageArgs.- Returns:
- message Arguments
-