/** Initialise this exception with the node that couldn't be polymorphed and the class it couldn't be polymorphed to. */ public UnsupportedPolymorphismException( Object node, boolean hasModel, Class<?> type ) { super( constructMessage( node, hasModel, type ) ); this.node = node; this.type = type; }
/** Initialise this exception with the node that couldn't be polymorphed and the class it couldn't be polymorphed to. */ public UnsupportedPolymorphismException( Object node, boolean hasModel, Class<?> type ) { super( constructMessage( node, hasModel, type ) ); this.node = node; this.type = type; }