From 4b1f5f19f4bc80bcf4df30daf5b3f0f0d24ef9f1 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 22 Dec 2014 16:30:22 +0000
Subject: [PATCH] NotImplementedException.java: REMOVED
---
/dev/null | 51 ---------------------------------------------------
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/RootContainer.java | 2 +-
2 files changed, 1 insertions(+), 52 deletions(-)
diff --git a/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NotImplementedException.java b/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NotImplementedException.java
deleted file mode 100644
index cb18210..0000000
--- a/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/NotImplementedException.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * CDDL HEADER START
- *
- * The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
- *
- * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
- * or http://forgerock.org/license/CDDLv1.0.html.
- * See the License for the specific language governing permissions
- * and limitations under the License.
- *
- * When distributing Covered Code, include this CDDL HEADER in each
- * file and include the License file at legal-notices/CDDLv1_0.txt.
- * If applicable, add the following below this CDDL HEADER, with the
- * fields enclosed by brackets "[]" replaced with your own identifying
- * information:
- * Portions Copyright [yyyy] [name of copyright owner]
- *
- * CDDL HEADER END
- *
- * Copyright 2014 ForgeRock AS
- */
-package org.opends.server.backends.pluggable;
-
-/**
- * Class that helps figuring out where code is not implemented. This class
- * should only be used during the implementation of pluggable storage backends.
- */
-public class NotImplementedException extends RuntimeException
-{
- private static final long serialVersionUID = 6647576563755499711L;
-
- /** Default constructor. */
- public NotImplementedException()
- {
- super("Code is not implemented");
- }
-
- /**
- * Default constructor.
- *
- * @param cause
- * the cause
- */
- public NotImplementedException(Throwable cause)
- {
- super("Code is not implemented", cause);
- }
-}
diff --git a/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/RootContainer.java b/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/RootContainer.java
index 918bde3..57f4211 100644
--- a/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/RootContainer.java
+++ b/opendj-sdk/opendj3-server-dev/src/server/org/opends/server/backends/pluggable/RootContainer.java
@@ -556,7 +556,7 @@
// is filled.
try
{
- throw new NotImplementedException();
+ throw new UnsupportedOperationException("Not implemented exception");
}
catch (StorageRuntimeException e)
{
--
Gitblit v1.10.0