[jboss-cvs] jboss-seam/src/main/org/jboss/seam/exceptions ...
Gavin King
gavin.king at jboss.com
Sun Feb 4 12:03:33 EST 2007
User: gavin
Date: 07/02/04 12:03:33
Modified: src/main/org/jboss/seam/exceptions
AnnotationErrorHandler.java
AnnotationRedirectHandler.java
ConfigErrorHandler.java ConfigRedirectHandler.java
Log:
removed exception rollback stuff
Revision Changes Path
1.4 +0 -5 jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationErrorHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AnnotationErrorHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationErrorHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- AnnotationErrorHandler.java 4 Feb 2007 05:41:58 -0000 1.3
+++ AnnotationErrorHandler.java 4 Feb 2007 17:03:33 -0000 1.4
@@ -31,9 +31,4 @@
return e.getClass().getAnnotation(HttpError.class).end();
}
- protected boolean isRollback(Exception e)
- {
- return e.getClass().getAnnotation(HttpError.class).rollback();
- }
-
}
\ No newline at end of file
1.4 +0 -5 jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationRedirectHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AnnotationRedirectHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/AnnotationRedirectHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- AnnotationRedirectHandler.java 4 Feb 2007 05:41:58 -0000 1.3
+++ AnnotationRedirectHandler.java 4 Feb 2007 17:03:33 -0000 1.4
@@ -31,9 +31,4 @@
return e.getClass().getAnnotation(Redirect.class).end();
}
- protected boolean isRollback(Exception e)
- {
- return e.getClass().getAnnotation(Redirect.class).rollback();
- }
-
}
\ No newline at end of file
1.3 +1 -7 jboss-seam/src/main/org/jboss/seam/exceptions/ConfigErrorHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConfigErrorHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/ConfigErrorHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ConfigErrorHandler.java 4 Feb 2007 01:13:19 -0000 1.2
+++ ConfigErrorHandler.java 4 Feb 2007 17:03:33 -0000 1.3
@@ -10,15 +10,13 @@
private final boolean conversation;
private final Class clazz;
private final int code;
- private final boolean rollback;
- public ConfigErrorHandler(String message, boolean conversation, Class clazz, int code, boolean rollback)
+ public ConfigErrorHandler(String message, boolean conversation, Class clazz, int code)
{
this.message = message;
this.conversation = conversation;
this.clazz = clazz;
this.code = code;
- this.rollback = rollback;
}
@Override
@@ -45,8 +43,4 @@
return conversation;
}
- protected boolean isRollback(Exception e)
- {
- return rollback;
- }
}
\ No newline at end of file
1.4 +1 -7 jboss-seam/src/main/org/jboss/seam/exceptions/ConfigRedirectHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConfigRedirectHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/exceptions/ConfigRedirectHandler.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ConfigRedirectHandler.java 4 Feb 2007 01:13:19 -0000 1.3
+++ ConfigRedirectHandler.java 4 Feb 2007 17:03:33 -0000 1.4
@@ -9,15 +9,13 @@
private final String id;
private final Class clazz;
private final boolean conversation;
- private final boolean rollback;
private final String message;
- public ConfigRedirectHandler(String id, Class clazz, boolean conversation, boolean rollback, String message)
+ public ConfigRedirectHandler(String id, Class clazz, boolean conversation, String message)
{
this.id = id;
this.clazz = clazz;
this.conversation = conversation;
- this.rollback = rollback;
this.message = message;
}
@@ -45,8 +43,4 @@
return conversation;
}
- protected boolean isRollback(Exception e)
- {
- return rollback;
- }
}
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list