* @param fo the formatting object for this layout manager
*/
public AbstractBaseLayoutManager(FObj fo) {
+ if (fo == null) {
+ throw new IllegalStateException("Null formatting object found.");
+ }
this.fobj = fo;
setGeneratesReferenceArea(fo.generatesReferenceAreas());
}
*/
public AbstractLayoutManager(FObj fo) {
super(fo);
- if (fo == null) {
- throw new IllegalStateException("Null formatting object found.");
- }
markers = fo.getMarkers();
fobjIter = fo.getChildNodes();
childLMiter = new LMiter(this);