public String toString() {
	    String e;
	    switch (this) {
		case NONE:
		    e = "No error";
		    break;
		case FILELIST_NOT_YET_SET:
		    e = "No file list set";
		    break;
		case NOTHING_TO_PASTE:
		    e = "Nothing to paste";
		    break;
		case CANNOT_PASTE_DIR_INTO_ITSELF:
		    e = "Cannot paste a directory into itself";
		    break;
		case CANNOT_PASTE_NAME_ALREADY_EXISTS:
		    e = "Cannot paste as this folder already has a file or directory by that name";
		    break;
		case CANNOT_PASTE_DIR_INTO_ITS_SUB_DIR:
		    e = "Cannot paste as a folder into its sub directory";
		    break;
		case FILE_OR_DIR_NOT_FOUND:
		    e = "File or directory not found";
		    break;
		case INVALID_NAME:
		    e = "The name is invalid because it contains illegal characters";
		    break;
		case HASHING_JOB_IN_PROGRESS:
		    e = "Hashing is in progress";
		    break;
		default:
		    e = "Unknow Error type";
	    }
	    return e;
	}