Make RedirectException subclass java.lang.Error so app code knows it shouldn't catch it.

This commit is contained in:
hns 2003-07-01 14:47:56 +00:00
parent 9ff623ac77
commit bc1b067cf0

View file

@ -19,9 +19,11 @@ package helma.framework;
/** /**
* RedirectException is thrown internally when a response is redirected to a * RedirectException is thrown internally when a response is redirected to a
* new URL. * new URL. Although this is not an Error, it subclasses java.lang.Error
* because it's not meant to be caught by application code (similar to
* java.lang.ThreadDeath).
*/ */
public class RedirectException extends RuntimeException { public class RedirectException extends Error {
String url; String url;
/** /**