Documentation of 'org.spaceroots.mantissa.MantissaException' Java class
MantissaException
org.spaceroots.mantissa

Class MantissaException

    • Constructor Summary

      Constructors 
      Constructor and Description
      MantissaException()
      Simple constructor.
      MantissaException(java.lang.String message)
      Simple constructor.
      MantissaException(java.lang.String specifier, java.lang.String[] parts)
      Simple constructor.
      MantissaException(java.lang.String specifier, java.lang.String[] parts, java.lang.Throwable cause)
      Simple constructor.
      MantissaException(java.lang.String message, java.lang.Throwable cause)
      Simple constructor.
      MantissaException(java.lang.Throwable cause)
      Simple constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String translate(java.lang.String s)
      Translate a string.
      static java.lang.String translate(java.lang.String specifier, java.lang.String[] parts)
      Translate a message.
      • 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

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

      • MantissaException

        public MantissaException()
        Simple constructor. Build an exception with an empty message
      • MantissaException

        public MantissaException(java.lang.String message)
        Simple constructor. Build an exception by translating the specified message
        Parameters:
        message - message to translate
      • MantissaException

        public MantissaException(java.lang.String specifier,
                                 java.lang.String[] parts)
        Simple constructor. Build an exception by translating and formating a message
        Parameters:
        specifier - format specifier (to be translated)
        parts - to insert in the format (no translation)
      • MantissaException

        public MantissaException(java.lang.Throwable cause)
        Simple constructor. Build an exception from a cause
        Parameters:
        cause - cause of this exception
      • MantissaException

        public MantissaException(java.lang.String message,
                                 java.lang.Throwable cause)
        Simple constructor. Build an exception from a message and a cause
        Parameters:
        message - message to translate
        cause - cause of this exception
      • MantissaException

        public MantissaException(java.lang.String specifier,
                                 java.lang.String[] parts,
                                 java.lang.Throwable cause)
        Simple constructor. Build an exception from a message and a cause
        Parameters:
        specifier - format specifier (to be translated)
        parts - to insert in the format (no translation)
        cause - cause of this exception
    • Method Detail

      • translate

        public static java.lang.String translate(java.lang.String s)
        Translate a string.
        Parameters:
        s - string to translate
        Returns:
        translated string
      • translate

        public static java.lang.String translate(java.lang.String specifier,
                                                 java.lang.String[] parts)
        Translate a message.
        Parameters:
        specifier - format specifier (to be translated)
        parts - to insert in the format (no translation)
        Returns:
        translated message

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.