1 54 55 package org.apache.jetspeed.portlet; 56 57 63 64 public class PortletException extends Exception  65 { 66 private Throwable cause; 67 68 71 72 public PortletException () 73 { 74 super (); 75 } 76 77 84 85 public PortletException (String text) 86 { 87 super (text); 88 } 89 90 100 101 public PortletException (String text, Throwable cause) 102 { 103 super (text); 105 this.cause = cause; 106 } 107 108 116 117 public PortletException (Throwable cause) 118 { 119 super (cause.getLocalizedMessage ()); 120 121 this.cause = cause; 122 } 123 124 129 130 public Throwable getRootCause () 131 { 132 return (cause); 133 } 134 } 135 | Popular Tags |