Class WorkspaceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.gcube.common.storagehubwrapper.shared.tohl.exceptions.WorkspaceException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InsufficientPrivilegesException,ItemAlreadyExistException,ItemNotFoundException,WorkspaceFolderAlreadyExistException,WorkspaceFolderNotFoundException,WrongDestinationException,WrongItemTypeException,WrongParentTypeException
public class WorkspaceException extends Exception
A super class for all the workspace exceptions.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jun 15, 2018
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkspaceException()WorkspaceException(String message)Create a new workspace exception.WorkspaceException(String message, Throwable cause)Create a new workspace exception.WorkspaceException(Throwable cause)Create a new workspace exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WorkspaceException
public WorkspaceException()
-
WorkspaceException
public WorkspaceException(String message, Throwable cause)
Create a new workspace exception.- Parameters:
message- the exception message.cause- the exception cause.
-
WorkspaceException
public WorkspaceException(String message)
Create a new workspace exception.- Parameters:
message- the exception message.
-
WorkspaceException
public WorkspaceException(Throwable cause)
Create a new workspace exception.- Parameters:
cause- the exception cause.
-
-