You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/05/25 19:41:13 UTC

svn commit: r948128 - /tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java

Author: hlship
Date: Tue May 25 17:41:13 2010
New Revision: 948128

URL: http://svn.apache.org/viewvc?rev=948128&view=rev
Log:
TAP5-1165: Change OperationException to extend from TapestryException, rather than directly from RuntimeException

Modified:
    tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java?rev=948128&r1=948127&r2=948128&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java (original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/OperationException.java Tue May 25 17:41:13 2010
@@ -1,10 +1,10 @@
-//  Copyright 2008 The Apache Software Foundation
+// Copyright 2008, 2010 The Apache Software Foundation
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
 //
-//     http://www.apache.org/licenses/LICENSE-2.0
+// http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,12 +14,16 @@
 
 package org.apache.tapestry5.ioc.internal;
 
+import org.apache.tapestry5.ioc.internal.util.TapestryException;
+
 /**
  * An exception caught and reported by an {@link org.apache.tapestry5.ioc.OperationTracker}; the trace property
  * identifies what operations were active at the time of the exception.
  */
-public class OperationException extends RuntimeException
+public class OperationException extends TapestryException
 {
+    private static final long serialVersionUID = -7555673473832355909L;
+
     private final String[] trace;
 
     public OperationException(Throwable cause, String[] trace)