1 6 7 package javax.portlet; 8 9 14 15 public class PortletModeException extends PortletException 16 { 17 18 private transient PortletMode _mode = null; 19 20 30 31 public PortletModeException (String text, PortletMode mode) 32 { 33 super (text); 34 _mode = mode; 35 } 36 37 55 56 public PortletModeException (String text, Throwable cause, PortletMode mode) 57 { 58 super(text, cause); 59 _mode = mode; 60 } 61 62 72 73 public PortletModeException (Throwable cause, PortletMode mode) 74 { 75 super(cause); 76 _mode = mode; 77 } 78 79 84 85 public PortletMode getMode() 86 { 87 return _mode; 88 } 89 } 90 | Popular Tags |