} else if (isOfType(STATE)) {
return new InvalidItemStateException(message, this);
} else if (isOfType(VERSION)) {
return new VersionException(message, this);
} else if (isOfType(LABEL_EXISTS)) {
return new LabelExistsVersionException(message, this);
} else if (isOfType(LOCK)) {
return new LockException(message, this);
} else if (isOfType(UNSUPPORTED)) {
return new UnsupportedRepositoryOperationException(message, this);
} else {