1 package org.apache.beehive.controls.spi.svc; 2 3 20 21 27 public class InterceptorPivotException extends Exception 28 { 29 32 private static final long serialVersionUID = 1L; 33 private Object returnValue; 34 private String interceptorName; 35 36 41 public InterceptorPivotException(String interceptorName) 42 { 43 super(); 44 this.interceptorName = interceptorName; 45 } 46 47 54 public InterceptorPivotException(String interceptorName, Object returnValue) 55 { 56 super(); 57 this.interceptorName = interceptorName; 58 this.returnValue = returnValue; 59 } 60 61 69 public InterceptorPivotException(String interceptorName, Object returnValue, String message) 70 { 71 super(message); 72 this.interceptorName = interceptorName; 73 this.returnValue = returnValue; 74 } 75 76 83 public InterceptorPivotException(String interceptorName, String message) 84 { 85 super(message); 86 this.interceptorName = interceptorName; 87 } 88 89 92 public String getInterceptorName() 93 { 94 return interceptorName; 95 } 96 99 public Object getReturnValue() 100 { 101 return returnValue; 102 } 103 106 public void setInterceptorName(String interceptorName) 107 { 108 this.interceptorName = interceptorName; 109 } 110 } 111 | Popular Tags |