1 19 20 package com.sslexplorer.core; 21 22 import org.apache.struts.action.ActionForward; 23 24 public class RedirectException extends Exception { 25 26 private ActionForward forward; 27 28 public RedirectException(ActionForward forward) { 29 super(); 30 this.forward = forward; 31 } 32 33 public RedirectException(ActionForward forward, String message) { 34 super(message); 35 this.forward = forward; 36 } 37 38 public RedirectException(ActionForward forward, Throwable cause) { 39 super(cause); 40 this.forward = forward; 41 } 42 43 public RedirectException(ActionForward forward, String message, Throwable cause) { 44 super(message, cause); 45 this.forward = forward; 46 } 47 48 public ActionForward getForward() { 49 return forward; 50 } 51 52 } 53 | Popular Tags |