Package org.xwiki.vfs
Class VfsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xwiki.vfs.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 Summary
Constructors Constructor Description VfsException(String message)
Construct a new Exception with the specified detail message.VfsException(String message, Throwable throwable)
Construct a new Exception with the specified detail message and cause.VfsException(String message, Throwable throwable, Object... parameters)
Construct a new Exception with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-