Class PythonLocalizedException

    • Constructor Detail

      • PythonLocalizedException

        public PythonLocalizedException()
    • Method Detail

      • pythonExtension

        public void pythonExtension​(long pythonObject)
        Part of JCC Python interface to object
      • pythonExtension

        public long pythonExtension()
        Part of JCC Python interface to object
      • pythonDecRef

        public void pythonDecRef()
        Part of JCC Python interface to object
      • getMessage

        public String getMessage​(Locale locale)
        Gets the message in a specified locale.
        Specified by:
        getMessage in interface LocalizedException
        Parameters:
        locale - Locale in which the message should be translated
        Returns:
        localized message
      • getSpecifier

        public Localizable getSpecifier()
        Get the localizable specifier of the error message.
        Specified by:
        getSpecifier in interface LocalizedException
        Returns:
        localizable specifier of the error message
      • getParts

        public Object[] getParts()
        Get the variable parts of the error message.
        Specified by:
        getParts in interface LocalizedException
        Returns:
        a copy of the variable parts of the error message