jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r732883 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core: ./ fs/ journal/ nodetype/ state/
Date Fri, 09 Jan 2009 00:23:31 GMT
Author: jukka
Date: Thu Jan  8 16:23:30 2009
New Revision: 732883

URL: http://svn.apache.org/viewvc?rev=732883&view=rev
Log:
JCR-1269: Stop using BaseException

The BaseException class has been deprecated for a while and is nowhere caught, so we're better
of subclassing directly from java.lang.Exception.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/TransactionException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/FileSystemException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/JournalException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateException.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/TransactionException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/TransactionException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/TransactionException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/TransactionException.java
Thu Jan  8 16:23:30 2009
@@ -16,13 +16,11 @@
  */
 package org.apache.jackrabbit.core;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * TransactionException is thrown when some operation inside the transaction
  * fails.
  */
-public class TransactionException extends BaseException {
+public class TransactionException extends Exception {
 
     /**
      * Creates an instance of this class. Takes a detail message as parameter.

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/FileSystemException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/FileSystemException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/FileSystemException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/fs/FileSystemException.java
Thu Jan  8 16:23:30 2009
@@ -16,14 +16,12 @@
  */
 package org.apache.jackrabbit.core.fs;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>FileSystemException</code> signals an error within a file system
  * operation. FileSystemExceptions are thrown by {@link FileSystem}
  * implementations.
  */
-public class FileSystemException extends BaseException {
+public class FileSystemException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/JournalException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/JournalException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/JournalException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/JournalException.java
Thu Jan  8 16:23:30 2009
@@ -16,12 +16,10 @@
  */
 package org.apache.jackrabbit.core.journal;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>JournalException</code> signals an error within a journal operation.
  */
-public class JournalException extends BaseException {
+public class JournalException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java
Thu Jan  8 16:23:30 2009
@@ -16,12 +16,10 @@
  */
 package org.apache.jackrabbit.core.nodetype;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>InvalidConstraintException</code> ...
  */
-public class InvalidConstraintException extends BaseException {
+public class InvalidConstraintException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java
Thu Jan  8 16:23:30 2009
@@ -16,12 +16,10 @@
  */
 package org.apache.jackrabbit.core.nodetype;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>NodeTypeConflictException</code> ...
  */
-public class InvalidNodeTypeDefException extends BaseException {
+public class InvalidNodeTypeDefException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java
Thu Jan  8 16:23:30 2009
@@ -16,12 +16,10 @@
  */
 package org.apache.jackrabbit.core.nodetype;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>NodeTypeConflictException</code> ...
  */
-public class NodeTypeConflictException extends BaseException {
+public class NodeTypeConflictException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateException.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateException.java?rev=732883&r1=732882&r2=732883&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateException.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/ItemStateException.java
Thu Jan  8 16:23:30 2009
@@ -16,12 +16,10 @@
  */
 package org.apache.jackrabbit.core.state;
 
-import org.apache.jackrabbit.BaseException;
-
 /**
  * The <code>ItemStateException</code> ...
  */
-public class ItemStateException extends BaseException {
+public class ItemStateException extends Exception {
 
     /**
      * Constructs a new instance of this class with the specified detail



Mime
View raw message