org.grinvin.workspace

Class WorkspaceException


public class WorkspaceException
extends Exception

Indicates that something went wrong while loading or saving a workspace

Constructor Summary

WorkspaceException(String message, File directory)
Construct an exception of this type
WorkspaceException(String message, File directory, Throwable cause)
Construct an exception of this type

Method Summary

File
getDirectory()
The workspace directory for which the exception occurred.

Constructor Details

WorkspaceException

public WorkspaceException(String message,
                          File directory)
Construct an exception of this type
Parameters:
message - Error message
directory - Workspace directory for which an operation went wrong

WorkspaceException

public WorkspaceException(String message,
                          File directory,
                          Throwable cause)
Construct an exception of this type
Parameters:
message - Error message
directory - Workspace directory for which an operation went wrong
cause - Underlying cause

Method Details

getDirectory

public File getDirectory()
The workspace directory for which the exception occurred.