protected void dispatch ( Throwable object , boolean child ) { if ( object instanceof CompilationFailedException ) { report ( ( CompilationFailedException ) object , child ) ; } else if ( object instanceof GroovyExceptionInterface ) { report ( ( GroovyExceptionInterface ) object , child ) ; } else if ( object instanceof GroovyRuntimeException ) { report ( ( GroovyRuntimeException ) object , child ) ; } else if ( object instanceof Exception ) { report ( ( Exception ) object , child ) ; } else { report ( object , child ) ; } }
Runs the report once all initialization is complete .