1 16 package org.directwebremoting.extend; 17 18 22 public class ServerException extends Exception  23 { 24 27 public ServerException() 28 { 29 } 30 31 35 public ServerException(String message) 36 { 37 super(message); 38 } 39 40 45 public ServerException(String message, Throwable ex) 46 { 47 super(message); 48 this.ex = ex; 49 } 50 51 55 public ServerException(Throwable ex) 56 { 57 super(ex.getMessage()); 58 this.ex = ex; 59 } 60 61 64 public Throwable getCause() 65 { 66 return ex; 67 } 68 69 72 private Throwable ex = null; 73 } 74 | Popular Tags |