package com.nicewuerfel.blockown.database; public class ActionNotPerformedException extends Exception { private static final long serialVersionUID = -6377690649684685912L; private final DatabaseAction databaseAction; public ActionNotPerformedException(DatabaseAction databaseAction) { this.databaseAction = databaseAction; } @Override public String getMessage() { return "The following action couldn't be performed: " + databaseAction; } }