In my project, I am using LoadableDetachableModel as given below.
public ReportPage(final Objectm, final PageReference pr) throws
CustomException{try{final LoadableDetachableModel<List<MaintReport>>
ldm =
new LoadableDetachableModel<List<MaintReport>>() {
@Override
protected List<MaintReport>load() {
**// Some Database operations //**
return x;
}
};
/*
Several LoadableDetachableModels, PageableListViews, Panels, Fragments etc.
*/ } catch ( Exception ex){// create Custom Exception } finally {
// Clean up of stuff }
My problem is that I am using AbstractColumn to display the objects in the
column and the overriden populateItem() method calls the load()
internally. Since both the methods cannot throw Exceptions, I cannot
really catch exceptions and display appropriate messages.
Any help on this is really appreciated.
--
Thanks & Regards
JK