Class TextMessageInformationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.tocco.nice2.model.entity.api.BaseRuntimeException
ch.tocco.nice2.web.core.api.exception.TextMessageInformationException
- All Implemented Interfaces:
InformationException
,Serializable
public class TextMessageInformationException
extends BaseRuntimeException
implements InformationException
- See Also:
-
Constructor Summary
ConstructorDescriptionTextMessageInformationException
(TextMessage textMessage) TextMessageInformationException
(String textMessageKey) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TextMessageInformationException
- Parameters:
textMessage
- the message to format and display to the user
-
TextMessageInformationException
- Parameters:
textMessageKey
- key of the text resource to display
-
-
Method Details
-
getInformation
- Specified by:
getInformation
in interfaceInformationException
-