Class RuntimeIoException

    • Constructor Detail

      • RuntimeIoException

        public RuntimeIoException​(Throwable cause)
        The constructor.
        Parameters:
        cause - is the cause of this exception. This should be an IOException. However it may also be an IOError.
    • Method Detail

      • getCode

        public String getCode()
        Description copied from class: ApplicationException
        This method gets the code that identifies the detailed type of this object. While UUID is unique per instance of a ApplicationException this code is a short and readable identifier representing the ApplicationException Class. The default implementation returns the simple name. However, the code should remain stable after refactoring (so at least after the rename the previous code should be returned as String literal). This code may be used as a compact identifier to reference the related problem or information as well as for automatic tests of error situations that should remain stable even if the message text gets improved or the locale is unknown.
        Overrides:
        getCode in class ApplicationException
        Returns:
        the error code.