// TODO: Localization Problems.. Think of something clever.
if(errTitle == null) {
throw new ResourceIndexNotAvailableException("Unknown error!");
} else if(errTitle.equals("Resource Not In Archive")) {
throw new ResourceNotInArchiveException(errMessage);
} else if(errTitle.equals("Bad Query Exception")) {
throw new BadQueryException(errMessage);
} else if(errTitle.equals("Resource Index Not Available Exception")) {
throw new ResourceIndexNotAvailableException(errMessage);
} else if(errTitle.equals("Access Control Exception")) {