question: private void assertResourceParser ( ) { if ( scanner == null ) { throw new IllegalStateException ( "Please make sure to setup a ResourceParser before calling this method." ) ; } }
target:  for some of the public methods a ResourceParser has to be set.