1 16 19 20 package org.apache.pluto; 21 22 28 29 public class PortletContainerException extends Exception  30 { 31 32 private Throwable cause; 33 34 37 38 public PortletContainerException () 39 { 40 } 41 42 49 50 public PortletContainerException (String text) 51 { 52 super (text); 53 } 54 55 65 66 public PortletContainerException (String text, Throwable cause) 67 { 68 super (text); 70 this.cause = cause; 71 } 72 73 81 82 public PortletContainerException (Throwable cause) 83 { 84 super (cause.getLocalizedMessage ()); 85 86 this.cause = cause; 87 } 88 89 94 95 public Throwable getRootCause () 96 { 97 return (cause); 98 } 99 } 100 | Popular Tags |