FailedToCreateNavStateException
Thrown if an attempt to create a {@link NavigationalState} met with an unexpectedfailure.
110111112113114115116117
{ return (NavigationalState) beanFactory.getBean(navBeanName, NavigationalState.class); } catch (BeansException e) { throw new FailedToCreateNavStateException("Spring failed to create the NavigationalState bean.", e); } }
108109110111112113114115
119120121122123124125126127128129
state = (NavigationalState) constructor.newInstance(new Object[]{navStateCodec}); } catch (Exception e) { e.printStackTrace(); throw new FailedToCreateNavStateException("Error invoking create() method. " + "There is more than likely a problem invoking navClass " + navClassName); } return state; }
106107108109110111112113