1 25 26 package org.objectweb.easybeans.rpc.api; 27 28 33 public class RPCException extends Exception { 34 35 38 private static final long serialVersionUID = -8386978969361863691L; 39 40 43 private boolean applicationException = false; 44 45 46 51 public RPCException() { 52 super(); 53 } 54 55 62 public RPCException(final String message) { 63 super(message); 64 } 65 66 80 public RPCException(final String message, final Throwable cause) { 81 super(message, cause); 82 } 83 84 97 public RPCException(final Throwable cause) { 98 super(cause); 99 } 100 101 104 public boolean isApplicationException() { 105 return applicationException; 106 } 107 108 111 public void setApplicationException() { 112 this.applicationException = true; 113 } 114 } 115 | Popular Tags |