1 17 18 package org.sape.carbon.core.exception; 19 20 import java.io.Serializable ; 21 22 import org.sape.carbon.core.util.classify.SeverityEnum; 23 24 42 public interface ExceptionDelegate extends Serializable { 43 44 45 49 void setDelegatee(Throwable delegatee); 50 51 56 Throwable getDelegatee(); 57 58 62 void setMessage(String message); 63 64 68 String getMessage(); 69 70 74 void setCause(Throwable cause); 75 76 80 Throwable getCause(); 81 82 86 void setExceptionSource(Class exceptionSource); 87 88 92 Class getExceptionSource(); 93 94 98 void setSeverity(SeverityEnum severity); 99 100 104 SeverityEnum getSeverity(); 105 106 110 void handleException(); 111 112 } 113 | Popular Tags |