try {
rm.save();
} catch (ProtectionDatabaseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}