}
public void save()
- throws MetadataRepositoryException
{
repository.save();
}
public void revert()
- throws MetadataRepositoryException
{
repository.revert();
dirty = false;
save();
}
}
- catch ( MetadataRepositoryException e )
- {
- // olamy use revert here ?
- throw new RuntimeException( e.getMessage(), e );
- }
finally
{
repository.close();
}
public void save()
- throws MetadataRepositoryException
{
try
{
}
catch ( RepositoryException e )
{
- throw new MetadataRepositoryException( e.getMessage(), e );
+ throw new RuntimeException( e.getMessage(), e );
}
}
public void revert()
- throws MetadataRepositoryException
{
try
{
}
catch ( RepositoryException e )
{
- throw new MetadataRepositoryException( e.getMessage(), e );
+ throw new RuntimeException( e.getMessage(), e );
}
}