called when an exception occurred . the default is to send the framework 's default error page . this is achieved by returning null , so that the scala engine handles the excepetion and shows an error page . by overriding this method one can provide an alternative error page . concode_field_sep PlaceHolder placeHolder concode_field_sep void onStart concode_elem_sep Action onRequest concode_elem_sep void beforeStart concode_elem_sep F.Promise<Result> onHandlerNotFound concode_elem_sep Class<T>[] filters concode_elem_sep F.Promise<Result> onBadRequest concode_elem_sep play.api.mvc.Handler onRouteRequest concode_elem_sep Configuration onLoadConfig concode_elem_sep Configuration onLoadConfig concode_elem_sep void onStop
F . Promise < Result > function ( RequestHeader arg0 , Throwable arg1 ) { return null ; }