Class NoSuchMessageException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchMessageException
    extends java.lang.RuntimeException
    Exception thrown when a message can't be resolved.

    Created: 2016. 2. 8.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchMessageException​(java.lang.String code)
      Create a new exception.
      NoSuchMessageException​(java.lang.String code, java.util.Locale locale)
      Create a new exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoSuchMessageException

        public NoSuchMessageException​(java.lang.String code,
                                      java.util.Locale locale)
        Create a new exception.
        Parameters:
        code - code that could not be resolved for given locale
        locale - locale that was used to search for the code within
      • NoSuchMessageException

        public NoSuchMessageException​(java.lang.String code)
        Create a new exception.
        Parameters:
        code - code that could not be resolved for given locale