Package org.xwiki.vfs

Class VfsException

  • All Implemented Interfaces:
    Serializable

    public class VfsException
    extends Exception
    Encapsulate a VFS error.
    Since:
    7.4M2
    Version:
    $Id: 62498697360645282429e3ea116618f81729f88d $
    See Also:
    Serialized Form
    • Constructor Detail

      • VfsException

        public VfsException​(String message)
        Construct a new Exception with the specified detail message.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
      • VfsException

        public VfsException​(String message,
                            Throwable throwable)
        Construct a new Exception with the specified detail message and cause.
        Parameters:
        message - The detailed message. This can later be retrieved by the Throwable.getMessage() method.
        throwable - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown)
      • VfsException

        public VfsException​(String message,
                            Throwable throwable,
                            Object... parameters)
        Construct a new Exception with the specified detail message and cause.
        Parameters:
        message - The detailed message using the String.format format.
        throwable - the cause. This can be retrieved later by the Throwable.getCause() method. (A null value is permitted, and indicates that the cause is nonexistent or unknown)
        parameters - the parameters to the String.format format