1 18 package org.apache.beehive.netui.pageflow; 19 20 23 public class ControlFieldInitializationException 24 extends PageFlowManagedObjectException 25 { 26 private String _fieldName; 27 28 31 public ControlFieldInitializationException( String fieldName, PageFlowManagedObject object, Throwable cause ) 32 { 33 super( object, cause ); 34 _fieldName = fieldName; 35 } 36 37 protected Object [] getMessageArgs() 38 { 39 return new Object []{ _fieldName, getManagedObject().getDisplayName() }; 40 } 41 42 protected String [] getMessageParts() 43 { 44 return new String [] 45 { 46 "Exception occurred when initializing field ", " on page flow ", "." 47 }; 48 } 49 } 50 | Popular Tags |