Class FileSystemException

    • Constructor Summary

      Constructors 
      Constructor Description
      FileSystemException​(java.lang.String code)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.String code, java.lang.Object info0)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.String code, java.lang.Object... info)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.String code, java.lang.Object[] info, java.lang.Throwable throwable)
      FileSystemException​(java.lang.String code, java.lang.Object info0, java.lang.Throwable throwable)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.String code, java.lang.Throwable throwable)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.String code, java.lang.Throwable throwable, java.lang.Object... info)
      Constructs exception with the specified detail message.
      FileSystemException​(java.lang.Throwable throwable)
      Constructs wrapper exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Retrieves error code of the exception.
      java.lang.String[] getInfo()
      Retrieves array of complementary info (context).
      java.lang.String getMessage()
      Retrieves message from bundle.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • FileSystemException

        public FileSystemException​(java.lang.String code)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
      • FileSystemException

        public FileSystemException​(java.lang.String code,
                                   java.lang.Object info0)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        info0 - one context information.
      • FileSystemException

        public FileSystemException​(java.lang.String code,
                                   java.lang.Object info0,
                                   java.lang.Throwable throwable)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        info0 - one context information.
        throwable - the cause.
      • FileSystemException

        public FileSystemException​(java.lang.String code,
                                   java.lang.Object... info)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        info - array of complementary info (context).
      • FileSystemException

        public FileSystemException​(java.lang.String code,
                                   java.lang.Throwable throwable)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        throwable - the original cause
      • FileSystemException

        @Deprecated
        public FileSystemException​(java.lang.String code,
                                   java.lang.Object[] info,
                                   java.lang.Throwable throwable)
        Deprecated.
        Use instead FileSystemException(String, Throwable, Object[]). Will be removed in 3.0.
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        info - array of complementary info (context).
        throwable - the cause.
      • FileSystemException

        public FileSystemException​(java.lang.String code,
                                   java.lang.Throwable throwable,
                                   java.lang.Object... info)
        Constructs exception with the specified detail message.
        Parameters:
        code - the error code of the message.
        info - array of complementary info (context).
        throwable - the cause.
      • FileSystemException

        public FileSystemException​(java.lang.Throwable throwable)
        Constructs wrapper exception.
        Parameters:
        throwable - the root cause to wrap.
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Retrieves message from bundle.
        Overrides:
        getMessage in class java.lang.Throwable
        Returns:
        The exception message.
      • getCode

        public java.lang.String getCode()
        Retrieves error code of the exception. Could be used as key for internationalization.
        Returns:
        the code.
      • getInfo

        public java.lang.String[] getInfo()
        Retrieves array of complementary info (context). Could be used as parameter for internationalization.
        Returns:
        the context info.