You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ab...@apache.org on 2016/02/17 19:23:28 UTC

[24/51] [partial] incubator-geode git commit: GEODE-917: rename gemfire subprojects to geode

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/Delta.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/Delta.java b/gemfire-core/src/main/java/com/gemstone/gemfire/Delta.java
deleted file mode 100755
index 048003b..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/Delta.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-import java.io.DataInput;
-import java.io.DataOutput;
-import java.io.IOException;
-
-
-/**
- * This interface defines a contract between the application and GemFire that
- * allows GemFire to determine whether an application object contains a delta,
- * allows GemFire to extract the delta from an application object, and generate
- * a new application object by applying a delta to an existing application
- * object. The difference in object state is contained in the {@link DataOutput}
- * and {@link DataInput} parameters.
- * 
- * @since 6.1
- * 
- */
-public interface Delta {
-
-  /**
-   * Returns true if this object has pending changes it can write out.
-   */
-  boolean hasDelta();
-
-  /**
-   * This method is invoked on an application object at the delta sender, if
-   * GemFire determines the presence of a delta by calling
-   * {@link Delta#hasDelta()} on the object. The delta is written to the
-   * {@link DataOutput} object provided by GemFire.
-   * 
-   * Any delta state should be reset in this method.
-   * 
-   * @throws IOException
-   */
-  void toDelta(DataOutput out) throws IOException;
-
-
-  /**
-   * This method is invoked on an existing application object when an update is
-   * received as a delta. This method throws an {@link InvalidDeltaException}
-   * when the delta in the {@link DataInput} cannot be applied to the object.
-   * GemFire automatically handles an {@link InvalidDeltaException} by
-   * reattempting the update by sending the full application object.
-   * 
-   * @throws IOException
-   * @throws InvalidDeltaException
-   */
-  void fromDelta(DataInput in) throws IOException, InvalidDeltaException;
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/DeltaSerializationException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/DeltaSerializationException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/DeltaSerializationException.java
deleted file mode 100644
index b016c8f..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/DeltaSerializationException.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * 
- */
-package com.gemstone.gemfire;
-
-/**
- * This exception wraps any checked exception encountered during invocation of
- * {@link Delta#fromDelta(java.io.DataInput)} or
- * {@link Delta#toDelta(java.io.DataOutput)} in GemFire.
- * 
- * @since 6.5
- */
-public class DeltaSerializationException extends RuntimeException {
-
-  /**
-   * Default constructor
-   */
-  public DeltaSerializationException() {
-  }
-
-  /**
-   * @param message
-   */
-  public DeltaSerializationException(String message) {
-    super(message);
-  }
-
-  /**
-   * @param cause
-   */
-  public DeltaSerializationException(Throwable cause) {
-    super(cause);
-  }
-
-  /**
-   * @param message
-   * @param cause
-   */
-  public DeltaSerializationException(String message, Throwable cause) {
-    super(message, cause);
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/ForcedDisconnectException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/ForcedDisconnectException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/ForcedDisconnectException.java
deleted file mode 100755
index bf13980..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/ForcedDisconnectException.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * An <code>ForcedDisconnectException</code> is thrown when a GemFire
- * application is removed from the distributed system due to membership
- * constraints such as network partition detection.
- * 
- * @since 5.7
- */
-public class ForcedDisconnectException extends CancelException {
-private static final long serialVersionUID = 4977003259880566257L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>SystemConnectException</code>.
-   */
-  public ForcedDisconnectException(String message) {
-    super(message);
-  }
-  
-  public ForcedDisconnectException(String message, Throwable cause) {
-    super(message, cause);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCacheException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCacheException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCacheException.java
deleted file mode 100644
index 0a18eeb..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCacheException.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-import com.gemstone.gemfire.cache.CacheException;
-
-/**
- * An <code>GemFireCacheException</code> is used to wrap a
- * {@link CacheException}. This is needed in contexts that can
- * not throw the cache exception directly because of it being
- * a typed exception.
- */
-public class GemFireCacheException extends GemFireException {
-private static final long serialVersionUID = -2844020916351682908L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>GemFireCacheException</code>.
-   */
-  public GemFireCacheException(String message, CacheException ex) {
-    super(message, ex);
-  }
-  /**
-   * Creates a new <code>GemFireCacheException</code>.
-   */
-  public GemFireCacheException(CacheException ex) {
-    super(ex);
-  }
-  /**
-   * Gets the wrapped {@link CacheException}
-   */
-  public CacheException getCacheException() {
-    return (CacheException)getCause();
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCheckedException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCheckedException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCheckedException.java
deleted file mode 100644
index 117fc28..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireCheckedException.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * This is the abstract superclass of exceptions that are thrown and
- * declared.
- * <p>
- * This class ought to be called <em>GemFireException</em>, but that name
- * is reserved for an older class that extends {@link java.lang.RuntimeException}.
- * 
- * @see com.gemstone.gemfire.GemFireException
- * @since 5.1
- */
-public abstract class GemFireCheckedException extends Exception {
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>GemFireException</code> with no detailed message.
-   */
-  public GemFireCheckedException() {
-    super();
-  }
-
-  /**
-   * Creates a new <code>GemFireCheckedException</code> with the given detail
-   * message.
-   */
-  public GemFireCheckedException(String message) {
-    super(message);
-  }
-
-  /**
-   * Creates a new <code>GemFireException</code> with the given detail
-   * message and cause.
-   */
-  public GemFireCheckedException(String message, Throwable cause) {
-    super(message);
-    this.initCause(cause);
-  }
-  
-  /**
-   * Creates a new <code>GemFireCheckedException</code> with the given cause and
-   * no detail message
-   */
-  public GemFireCheckedException(Throwable cause) {
-    super();
-    this.initCause(cause);
-  }
-
-  ////////////////////  Instance Methods  ////////////////////
-
-  /**
-   * Returns the root cause of this <code>GemFireCheckedException</code> or
-   * <code>null</code> if the cause is nonexistent or unknown.
-   */
-  public Throwable getRootCause() {
-      if ( this.getCause() == null ) return null;
-      Throwable root = this.getCause();
-      while ( root != null ) {
-//          if ( ! ( root instanceof GemFireCheckedException )) {
-//              break;
-//          }
-//          GemFireCheckedException tmp = (GemFireCheckedException) root;
-          if ( root.getCause() == null ) {
-              break;
-          } else {
-              root = root.getCause();
-          }
-      }
-      return root;
-  }
-  
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireConfigException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireConfigException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireConfigException.java
deleted file mode 100644
index bb5dd5d..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireConfigException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * A <code>GemFireConfigException</code> is used for failures
- * while processing a GemFire configuration XML file.
- */
-public class GemFireConfigException extends GemFireException {
-private static final long serialVersionUID = 7791789785331120991L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>GemFireConfigException</code>.
-   */
-  public GemFireConfigException(String message) {
-    super(message);
-  }
-
-  /**
-   * Creates a new <code>GemFireConfigException</code>.
-   */
-  public GemFireConfigException(String message, Throwable cause) {
-    super(message, cause);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireException.java
deleted file mode 100644
index 26361dd..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireException.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * This is the abstract superclass of exceptions that are thrown to
- * indicate incorrect usage of GemFire.
- *
- * Since these exceptions are unchecked, this class really
- * <em>ought</em> to be called <code>GemFireRuntimeException</code>;
- * however, the current name is retained for compatibility's sake.
- * 
- * @author David Whitlock
- * @see com.gemstone.gemfire.GemFireCheckedException
- * @see com.gemstone.gemfire.cache.CacheRuntimeException
- */
-// Implementation note: This class is abstract so that we are forced
-// to have more specific exception types.  We want to avoid using
-// GemFireException to describe an arbitrary error condition (think
-// GsError).
-public abstract class GemFireException extends RuntimeException {
-
-  /** The cause of this <code>GemFireException</code> */
-//  private Throwable cause;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>GemFireException</code> with no detailed message.
-   */
-  public GemFireException() {
-    super();
-  }
-
-  /**
-   * Creates a new <code>GemFireException</code> with the given detail
-   * message.
-   */
-  public GemFireException(String message) {
-    super(message);
-  }
-
-  /**
-   * Creates a new <code>GemFireException</code> with the given detail
-   * message and cause.
-   */
-  public GemFireException(String message, Throwable cause) {
-    super(message, cause);
-//    this.cause = cause;
-  }
-  
-  /**
-   * Creates a new <code>GemFireException</code> with the given cause and
-   * no detail message
-   */
-  public GemFireException(Throwable cause) {
-    super(cause);
-//    this.cause = cause;
-  }
-
-  ////////////////////  Instance Methods  ////////////////////
-
-  /**
-   * Returns the cause of this <code>GemFireException</code> or
-   * <code>null</code> if the cause is nonexistent or unknown.
-   */
-//  public Throwable getCause() {
-//    return this.cause;
-//  }
-
-  /**
-   * Returns the root cause of this <code>GemFireException</code> or
-   * <code>null</code> if the cause is nonexistent or unknown.
-   */
-  public Throwable getRootCause() {
-    if ( this.getCause() == null ) {
-      return null;
-    }
-    Throwable root = this.getCause();
-    while ( root.getCause() != null ) {
-      root = root.getCause();
-    }
-    return root;
-  }
-  
-//  public void printStackTrace() {
-//    super.printStackTrace();
-//    if (this.cause != null) {
-//      System.err.println("Caused by:");
-//      this.cause.printStackTrace();
-//    }
-//  }
-  
-//  public void printStackTrace(java.io.PrintWriter pw) {
-//    super.printStackTrace(pw);
-//
-//    if (this.cause != null) {
-//      pw.println("Caused by:");
-//      this.cause.printStackTrace(pw);
-//    }
-//  }
-//  
-//  public String getMessage() {
-//    if (this.cause != null) {
-//      String ourMsg = super.getMessage();
-//      if (ourMsg == null || ourMsg.length() == 0) {
-//        //ourMsg = super.toString(); //causes inifinite recursion
-//        ourMsg = "";
-//      }
-//      StringBuffer sb = new StringBuffer(ourMsg);
-//      sb.append(" Caused by: ");
-//      String causeMsg = this.cause.getMessage();
-//      if (causeMsg == null || causeMsg.length() == 0) {
-//        causeMsg = this.cause.toString();
-//      }
-//      sb.append(causeMsg);
-//      return sb.toString();
-//    } else {
-//      return super.getMessage();
-//    }
-//  }
-
-  /**
-   * Represent the receiver as well as the cause
-   */
-//  public String toString() {
-//    String result = super.toString();
-//    if (cause != null) {
-//      result = result + ", caused by " + cause.toString();
-//    }
-//    return result;
-//  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireIOException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireIOException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireIOException.java
deleted file mode 100644
index 2e99960..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireIOException.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * A <code>GemFireIOException</code> is thrown when a 
- * GemFire operation failure is caused by an <code>IOException</code>.
- *
- * @author David Whitlock
- *
- */
-public class GemFireIOException extends GemFireException {
-private static final long serialVersionUID = 5694009444435264497L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>GemFireIOException</code>.
-   */
-  public GemFireIOException(String message, Throwable cause) {
-    super(message, cause);
-  }
-  public GemFireIOException(String message) {
-    super(message);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireRethrowable.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireRethrowable.java b/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireRethrowable.java
deleted file mode 100644
index 80c3804..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/GemFireRethrowable.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * This error is used by GemFire for internal purposes.
- * It does not indicate an error condition.
- * For this reason it is named "Rethrowable" instead of the standard "Error".
- * It was made an <code>Error</code> to make it easier for user code that typically would
- * catch <code>Exception</code> to not accidently catch this exception.
- * <p> Note: if user code catches this error (or its subclasses) then it <em>must</em>
- * be rethrown.
- * 
- * @author darrel
- * @since 5.7
- */
-public class GemFireRethrowable extends Error {
-  private static final long serialVersionUID = 8349791552668922571L;
-
-  /**
-   * Create a GemFireRethrowable.
-   */
-  public GemFireRethrowable() {
-  }
-
-  /**
-   * Create a GemFireRethrowable with the specified message.
-   * @param message
-   */
-  public GemFireRethrowable(String message) {
-    super(message);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/IncompatibleSystemException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/IncompatibleSystemException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/IncompatibleSystemException.java
deleted file mode 100644
index 0af1726..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/IncompatibleSystemException.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * An <code>IncompatibleSystemException</code> is thrown when a
- * new GemFire process tries to connect to an
- * existing distributed system and its version is not the same as
- * that of the distributed system. In this case the new member is
- * not allowed to connect to the distributed system.
- * <p>As of GemFire 5.0 this exception should be named IncompatibleDistributedSystemException
- */
-public class IncompatibleSystemException extends GemFireException {
-private static final long serialVersionUID = -6852188720149734350L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>IncompatibleSystemException</code>.
-   */
-  public IncompatibleSystemException(String message) {
-    super(message);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/Instantiator.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/Instantiator.java b/gemfire-core/src/main/java/com/gemstone/gemfire/Instantiator.java
deleted file mode 100644
index 63e742d..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/Instantiator.java
+++ /dev/null
@@ -1,315 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-import com.gemstone.gemfire.internal.InternalInstantiator;
-import com.gemstone.gemfire.internal.cache.EventID;
-import com.gemstone.gemfire.internal.cache.tier.sockets.ClientProxyMembershipID;
-import com.gemstone.gemfire.internal.i18n.LocalizedStrings;
-
-/**
- * <code>Instantiator</code> allows classes that implement {@link
- * DataSerializable} to be registered with the data serialization
- * framework.  Knowledge of <code>DataSerializable</code> classes
- * allows the framework to optimize how instances of those classes are
- * data serialized.
- *
- * <P>
- *
- * Ordinarily, when a <code>DataSerializable</code> object is written
- * using {@link DataSerializer#writeObject(Object, java.io.DataOutput)}, a special marker class id
- * is written to the stream followed by the class name of the
- * <code>DataSerializable</code> object.  After the marker class id is
- * read by {@link DataSerializer#readObject} it performs the following
- * operations,
- *
- * <OL>
- *
- * <LI>The class name is read</LI>
- *
- * <LI>The class is loaded using {@link Class#forName(java.lang.String)}</LI>
- *
- * <LI>An instance of the class is created using reflection</LI>
- *
- * <LI>{@link DataSerializable#fromData} is invoked on the
- * newly-created object</LI>
- *
- * </OL>
- *
- * However, if a <code>DataSerializable</code> class is {@linkplain
- * #register(Instantiator) registered} with the data serialization framework and
- * assigned a unique class id, an important optimization can be
- * performed that avoid the expense of using reflection to instantiate
- * the <code>DataSerializable</code> class.  When the object is
- * written using {@link DataSerializer#writeObject(Object, java.io.DataOutput)}, the object's
- * registered class id is written to the stream.  Consequently, when
- * the data is read from the stream, the {@link #newInstance} method
- * of the appropriate <code>Instantiator</code> instance is invoked to
- * create an "empty" instance of the <code>DataSerializable</code>
- * instead of using reflection to create the new instance.
- *
- * <P>
- *
- * Commonly, a <code>DataSerializable</code> class will register
- * itself with the <code>Instantiator</code> in a static initializer
- * as shown in the below example code.
- *
- * <!-- 
- * The source code for the CompanySerializer class resides in 
- *         tests/com/examples/ds/User.java
- * Please keep the below code snippet in sync with that file.
- * -->
- *
- * <PRE>
-public class User implements DataSerializable {
-  private String name;
-  private int userId;
-
-  static {
-    Instantiator.register(new Instantiator(User.class, 45) {
-        public DataSerializable newInstance() {
-          return new User();
-        }
-      });
-  }
-
-  public User(String name, int userId) {
-    this.name = name;
-    this.userId = userId;
-  }
-
-  &#47;**
-   * Creates an "empty" User whose contents are filled in by
-   * invoking its toData() method
-   *&#47;
-  private User() {
-
-  }
-
-  public void toData(DataOutput out) throws IOException {
-    out.writeUTF(this.name);
-    out.writeInt(this.userId);
-  }
-
-  public void fromData(DataInput in)
-    throws IOException, ClassNotFoundException {
-    this.name = in.readUTF();
-    this.userId = in.readInt();
-  }
-}
- * </PRE>
- *
- * <code>Instantiator</code>s may be distributed to other members of
- * the distributed system when they are registered.  Consider the
- * following scenario in which VM1 and VM2 are members of the same
- * distributed system.  Both VMs define the sameRegion and VM2's
- * region replicates the contents of VM1's using replication.
- * VM1 puts an instance of the above <code>User</code> class into the
- * region.  The act of instantiating <code>User</code> will load the
- * <code>User</code> class and invoke its static initializer, thus
- * registering the <code>Instantiator</code> with the data
- * serialization framework.  Because the region is a replicate, the
- * <code>User</code> will be data serialized and sent to VM2.
- * However, when VM2 attempts to data deserialize the
- * <code>User</code>, its <code>Instantiator</code> will not
- * necessarily be registered because <code>User</code>'s static
- * initializer may not have been invoked yet.  As a result, an
- * exception would be logged while deserializing the <code>User</code>
- * and the replicate would not appear to have the new value.  So, in
- * order to ensure that the <code>Instantiator</code> is registered in
- * VM2, the data serialization framework distributes a message to each
- * member when an <code>Instantiator</code> is {@linkplain #register(Instantiator)
- * registered}.  <p>Note that the framework does not require that an
- * <code>Instantiator</code> be {@link java.io.Serializable}, but it
- * does require that it provide
- * a {@linkplain #Instantiator(Class, int)
- * two-argument constructor}.
- *
- * @see #register(Instantiator)
- * @see #newInstance
- *
- * @author David Whitlock
- * @since 3.5 */
-public abstract class Instantiator {
-
-  /** The class associated with this instantiator.  Used mainly for
-   * debugging purposes and error messages. */
-  private Class<? extends DataSerializable> clazz;
-
-  /** The id of this <code>Instantiator</code> */
-  private int id;
-  
-  /** The eventId of this <code>Instantiator</code> */
-  private EventID eventId;
-  
-  /** The originator of this <code>Instantiator</code> */
-  private ClientProxyMembershipID context;
-
-
-  ///////////////////////  Static Methods  ///////////////////////
-
-  /**
-   * Registers a <code>DataSerializable</code> class with the data
-   * serialization framework.  This method is usually invoked from the
-   * static initializer of a class that implements
-   * <code>DataSerializable</code>. 
-   *
-   * @param instantiator
-   *        An <code>Instantiator</code> whose {@link #newInstance}
-   *        method is invoked when an object is data deserialized.
-   *
-   * @throws IllegalStateException
-   *         If class <code>c</code> is
-   *         already registered with a different class id, or another
-   *         class has already been registered with id
-   *         <code>classId</code>
-   * @throws NullPointerException
-   *         If <code>instantiator</code> is <code>null</code>.
-   */
-  public static synchronized void register(Instantiator instantiator) {
-    InternalInstantiator.register(instantiator, true);
-  }
-
-  /**
-   * Registers a <code>DataSerializable</code> class with the data
-   * serialization framework.  This method is usually invoked from the
-   * static initializer of a class that implements
-   * <code>DataSerializable</code>. 
-   *
-   * @param instantiator
-   *        An <code>Instantiator</code> whose {@link #newInstance}
-   *        method is invoked when an object is data deserialized.
-   *
-   * @param distribute
-   *        True if the registered <code>Instantiator</code> has to be
-   *        distributed to other members of the distributed system.
-   *        Note that if distribute is set to false it may still be distributed
-   *        in some cases.
-   *
-   * @throws IllegalArgumentException
-   *         If class <code>c</code> is
-   *         already registered with a different class id, or another
-   *         class has already been registered with id
-   *         <code>classId</code>
-   * @throws NullPointerException
-   *         If <code>instantiator</code> is <code>null</code>.
-   * @deprecated as of 9.0 use {@link Instantiator#register(Instantiator)} instead
-   */
-  public static synchronized void register(Instantiator instantiator,
-      boolean distribute) {
-    InternalInstantiator.register(instantiator, distribute);
-  }
-
-  ////////////////////////  Constructors  ////////////////////////
-
-  /**
-   * Creates a new <code>Instantiator</code> that instantiates a given
-   * class.
-   *
-   * @param c
-   *        The <code>DataSerializable</code> class to register.  This
-   *        class must have a static initializer that registers this
-   *        <code>Instantiator</code>. 
-   * @param classId
-   *        A unique id for class <code>c</code>.  The
-   *        <code>classId</code> must not be zero.
-   *        This has been an <code>int</code> since dsPhase1.
-   *
-   * @throws IllegalArgumentException
-   *         If <code>c</code> does not implement
-   *         <code>DataSerializable</code>, <code>classId</code> is
-   *         less than or equal to zero.
-   * @throws NullPointerException
-   *         If <code>c</code> is <code>null</code>
-   */
-  public Instantiator(Class<? extends DataSerializable> c, int classId) {
-    if (c == null) {
-      throw new NullPointerException(LocalizedStrings.Instantiator_CANNOT_REGISTER_A_NULL_CLASS.toLocalizedString());
-    }
-
-    if (!DataSerializable.class.isAssignableFrom(c)) {
-      throw new IllegalArgumentException(LocalizedStrings.Instantiator_CLASS_0_DOES_NOT_IMPLEMENT_DATASERIALIZABLE.toLocalizedString(c.getName()));
-    }
-
-    if (classId == 0) {
-      throw new IllegalArgumentException(LocalizedStrings.Instantiator_CLASS_ID_0_MUST_NOT_BE_0.toLocalizedString(Integer.valueOf(classId)));
-    }
-
-    this.clazz = c;
-    this.id = classId;
-  }
-  
-  //////////////////////  Instance Methods  //////////////////////
-
-  /**
-   * Creates a new "empty" instance of a <Code>DataSerializable</code>
-   * class whose state will be filled in by invoking its {@link
-   * DataSerializable#fromData fromData} method.
-   *
-   * @see DataSerializer#readObject
-   */
-  public abstract DataSerializable newInstance();
-
-  /**
-   * Returns the <code>DataSerializable</code> class that is
-   * instantiated by this <code>Instantiator</code>.
-   */
-  public final Class<? extends DataSerializable> getInstantiatedClass() {
-    return this.clazz;
-  }
-
-  /**
-   * Returns the unique <code>id</code> of this
-   * <code>Instantiator</code>.
-   */
-  public final int getId() {
-    return this.id;
-  }
-  /**
-   * sets the unique <code>eventId</code> of this
-   * <code>Instantiator</code>. For internal use only.
-   */
-  public final void setEventId(Object/*EventID*/ eventId) {
-    this.eventId = (EventID)eventId;
-  }
-  
-  /**
-   * Returns the unique <code>eventId</code> of this
-   * <code>Instantiator</code>. For internal use only.
-   */
-  public final Object/*EventID*/ getEventId() {
-    return this.eventId;
-  }
-  
-  /**
-   * sets the context of this
-   * <code>Instantiator</code>. For internal use only.
-   */
-  public final void setContext(Object/*ClientProxyMembershipID*/ context) {
-    this.context = (ClientProxyMembershipID)context;
-  }
-  
-  /**
-   * Returns the context of this
-   * <code>Instantiator</code>. For internal use only.
-   */
-  public final Object/*ClientProxyMembershipID*/ getContext() {
-    return this.context;
-  }
-  
-  
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireError.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireError.java b/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireError.java
deleted file mode 100644
index 4b98dec..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireError.java
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * 
- */
-package com.gemstone.gemfire;
-
-/**
- * Indicates that serious error has occurred within the GemFire system.
- * 
- * This is similar to {@link AssertionError}, but these errors are always
- * enabled in a GemFire system.
- * 
- * @author jpenney
- * @since 5.5
- * @see AssertionError
- */
-public class InternalGemFireError extends Error {
-  private static final long serialVersionUID = 6390043490679349593L;
-
-  /**
-   * 
-   */
-  public InternalGemFireError() {
-    // TODO Auto-generated constructor stub
-  }
-
-  /**
-   * @param message
-   */
-  public InternalGemFireError(String message) {
-    super(message);
-  }
-
-  /**
-   * @param cause
-   */
-  public InternalGemFireError(Throwable cause) {
-    super(cause);
-  }
-
-  /**
-   * @param message
-   * @param cause
-   */
-  public InternalGemFireError(String message, Throwable cause) {
-    super(message, cause);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified object, which is converted to a string as
-   * defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *<p>
-   * If the specified object is an instance of <tt>Throwable</tt>, it
-   * becomes the <i>cause</i> of the newly constructed assertion error.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   * @see   Throwable#getCause()
-   */
-  public InternalGemFireError(Object detailMessage) {
-      this("" +  detailMessage);
-      if (detailMessage instanceof Throwable)
-          initCause((Throwable) detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>boolean</code>, which is converted to
-   * a string as defined in <i>The Java Language Specification,
-   * Second Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(boolean detailMessage) {
-      this("" +  detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>char</code>, which is converted to a
-   * string as defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(char detailMessage) {
-      this("" +  detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>int</code>, which is converted to a
-   * string as defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(int detailMessage) {
-      this("" +  detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>long</code>, which is converted to a
-   * string as defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(long detailMessage) {
-      this("" +  detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>float</code>, which is converted to a
-   * string as defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(float detailMessage) {
-      this("" +  detailMessage);
-  }
-
-  /**
-   * Constructs an AssertionError with its detail message derived
-   * from the specified <code>double</code>, which is converted to a
-   * string as defined in <i>The Java Language Specification, Second
-   * Edition</i>, Section 15.18.1.1.
-   *
-   * @param detailMessage value to be used in constructing detail message
-   */
-  public InternalGemFireError(double detailMessage) {
-      this("" +  detailMessage);
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireException.java
deleted file mode 100644
index 16850bc..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/InternalGemFireException.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * An <code>InternalGemFireException</code> is thrown when
- * a low level, internal, operation fails due to no fault of
- * the user. The message often contains an operating system
- * error code.
- *
- * @author David Whitlock
- *
- */
-public class InternalGemFireException extends GemFireException {
-private static final long serialVersionUID = -6912843691545178619L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  public InternalGemFireException() {
-    super();
-  }
-
-  public InternalGemFireException(Throwable cause) {
-    super(cause);
-  }
-
-  /**
-   * Creates a new <code>InternalGemFireException</code>.
-   */
-  public InternalGemFireException(String message) {
-    super(message);
-  }
-
-  /**
-   * Creates a new <code>InternalGemFireException</code> that was
-   * caused by a given exception
-   */
-  public InternalGemFireException(String message, Throwable thr) {
-    super(message, thr);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidDeltaException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidDeltaException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidDeltaException.java
deleted file mode 100755
index e063b18..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidDeltaException.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-import java.io.DataInput;
-
-/**
- * An <code>InvalidDeltaException</code> is thrown when a delta cannot be
- * successfully applied by the receiving peer/client. The class implementing
- * {@link Delta} may also choose to throw this in
- * {@link Delta#fromDelta(DataInput in)}. GemFire, on encountering this
- * exception distributes the full application object.
- * 
- * @since 6.1
- */
-public class InvalidDeltaException extends GemFireException {
-
-  /**
-   * Creates a new <code>InvalidDeltaException</code>. 
-   */
-  public InvalidDeltaException() {
-  }
-
-  /**
-   * Creates a new <code>InvalidDeltaException</code>. 
-   * @param msg String explaining the exception
-   */
-  public InvalidDeltaException(String msg) {
-    super(msg);
-  }
-
-  /**
-   * Creates a new <code>InvalidDeltaException</code>. 
-   * @param e Throwable
-   */
-  public InvalidDeltaException(Throwable e) {
-    super(e);
-  }
-
-  /**
-   * Creates a new <code>InvalidDeltaException</code>. 
-   * @param msg String explaining the exception
-   * @param e Throwable
-   */
-  public InvalidDeltaException(String msg, Throwable e) {
-    super(msg, e);
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidValueException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidValueException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidValueException.java
deleted file mode 100644
index d7fa1ce..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidValueException.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * An <code>InvalidValueException</code> is thrown when an attempt is
- * made to set a configuration attribute to an invalid value is made.
- * Values are considered invalid when they are
- * not compatible with the attribute's type.
- */
-public class InvalidValueException extends GemFireException {
-private static final long serialVersionUID = 6186767885369527709L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>InvalidValueException</code>.
-   */
-  public InvalidValueException(String message) {
-    super(message);
-  }
-  /**
-   * Creates a new <code>InvalidValueException</code>.
-   */
-  public InvalidValueException(String message, Throwable ex) {
-    super(message, ex);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidVersionException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidVersionException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidVersionException.java
deleted file mode 100644
index 0f9af70..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/InvalidVersionException.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-public class InvalidVersionException extends GemFireException {
-  private static final long serialVersionUID = 6342040462194322698L;
-
-  public InvalidVersionException(String msg) {
-    super(msg);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/LicenseException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/LicenseException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/LicenseException.java
deleted file mode 100644
index f41db3a..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/LicenseException.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-   
-package com.gemstone.gemfire;
-
-/**
- * A <code>LicenseException</code> is thrown when
- * the license check fails.
- *
- * @deprecated Licensing is not supported as of 8.0.
- */
-@Deprecated
-public class LicenseException extends GemFireException {
-private static final long serialVersionUID = -1178557127300465801L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>LicenseException</code>.
-   */
-  public LicenseException(String message) {
-    super(message);
-  }
-
-  /**
-   * Creates a new <code>LicenseException</code> that was
-   * caused by a given exception
-   */
-  public LicenseException(String message, Throwable thr) {
-    super(message, thr);
-  }
-
-  /**
-   * Creates a new <code>LicenseException</code> that was
-   * caused by a given exception
-   */
-  public LicenseException(Throwable thr) {
-    super(thr.getMessage(), thr);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/LogWriter.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/LogWriter.java b/gemfire-core/src/main/java/com/gemstone/gemfire/LogWriter.java
deleted file mode 100644
index af95207..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/LogWriter.java
+++ /dev/null
@@ -1,301 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package com.gemstone.gemfire;
-
-import java.util.logging.Handler;
-
-import com.gemstone.gemfire.distributed.DistributedSystem;
-import com.gemstone.gemfire.i18n.LogWriterI18n;
-
-/**
-  * Defines methods available to clients that want to write a log message
-  * to their GemFire distributed system log file.
-  * <p>
-  * Instances of this interface can be obtained by calling
-  * {@link DistributedSystem#getLogWriter}.
-  * <p>
-  * For any logged message the log file will contain:
-  * <ul>
-  * <li> The message's level.
-  * <li> The time the message was logged.
-  * <li> The id of the thread that logged the message.
-  * <li> The message itself which can be a string and/or an exception
-  *      including the exception's stack trace.
-  * </ul>
-  * <p>
-  * A message always has a level.
-  * Logging levels are ordered. Enabling logging at a given level also
-  * enables logging at higher levels. The higher the level the more
-  * important and urgent the message.
-  * <p>
-  * The levels, in descending order, are:
-  * <ul>
-  * <li> <code>severe</code>  (highest value) is a message level indicating a serious failure.
-  *   In general <code>severe</code> messages should describe events that
-  *   are of considerable importance and which will prevent normal program
-  *   execution. They should be reasonably intelligible to end users and
-  *   to information managers.
-  * <li> <code>error</code>  
-  *   In general <code>error</code> messages should describe events that
-  *   are of considerable importance but will not prevent normal program
-  *   execution. They should be reasonably intelligible to end users and
-  *   to information managers. They are weaker than <code>severe</code> and
-  *   stronger than <code>warning</code>.
-  * <li> <code>warning</code> is a message level indicating a potential problem.
-  *   In general <code>warning</code> messages should describe events that
-  *   will be of interest to end users or information managers, or which indicate
-  *   potential problems.
-  * <li> <code>info</code> is a message level for informational messages.
-  *   Typically <code>info</code> messages should be reasonably significant
-  *   and should make sense to end users and system administrators.
-  * <li> <code>config</code> is a message level for static configuration messages.
-  *   <code>config</code> messages are intended to provide a variety of static
-  *   configuration information, to assist in debugging problems that may be
-  *   associated with particular configurations.
-  * <li> <code>fine</code> is a message level providing tracing information.
-  *   In general the <code>fine</code> level should be used for information
-  *   that will be broadly interesting to developers. This level is for
-  *   the lowest volume, and most important, tracing messages.
-  * <li> <code>finer</code> indicates a fairly detailed tracing message.
-  *   Logging calls for entering, returning, or throwing an exception
-  *   are traced at the <code>finer</code> level.
-  * <li> <code>finest</code> (lowest value) indicates a highly detailed tracing message.
-  *   In general the <code>finest</code> level should be used for the most
-  *   voluminous detailed tracing messages.
-  * </ul>
-  * <p>
-  * For each level methods exist that will request a message, at that
-  * level, to be logged. These methods are all named after their level.
-  * <p>
-  * For each level a method exists that returns a boolean indicating
-  * if messages at that level will currently be logged. The names
-  * of these methods are of the form: <em>level</em><code>Enabled</code>.
-  *
-  * @author      darrel
-  */
-public interface LogWriter {
-  
-    /**
-     * Returns true if "severe" log messages are enabled.
-     * Returns false if "severe" log messages are disabled.
-     */
-    public boolean severeEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "severe".
-     */
-    public void severe(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "severe".
-     */
-    public void severe(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "severe".
-     */
-    public void severe(Throwable ex);
-    /**
-     * Returns true if "error" log messages are enabled.
-     * Returns false if "error" log messages are disabled.
-     */
-    public boolean errorEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "error".
-     */
-    public void error(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "error".
-     */
-    public void error(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "error".
-     */
-    public void error(Throwable ex);
-    /**
-     * Returns true if "warning" log messages are enabled.
-     * Returns false if "warning" log messages are disabled.
-     */
-    public boolean warningEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "warning".
-     */
-    public void warning(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "warning".
-     */
-    public void warning(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "warning".
-     */
-    public void warning(Throwable ex);
-    /**
-     * Returns true if "info" log messages are enabled.
-     * Returns false if "info" log messages are disabled.
-     */
-    public boolean infoEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "information".
-     */
-    public void info(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "information".
-     */
-    public void info(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "information".
-     */
-    public void info(Throwable ex);
-    /**
-     * Returns true if "config" log messages are enabled.
-     * Returns false if "config" log messages are disabled.
-     */
-    public boolean configEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "config".
-     */
-    public void config(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "config".
-     */
-    public void config(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "config".
-     */
-    public void config(Throwable ex);
-    /**
-     * Returns true if "fine" log messages are enabled.
-     * Returns false if "fine" log messages are disabled.
-     */
-    public boolean fineEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "fine".
-     */
-    public void fine(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "fine".
-     */
-    public void fine(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "fine".
-     */
-    public void fine(Throwable ex);
-    /**
-     * Returns true if "finer" log messages are enabled.
-     * Returns false if "finer" log messages are disabled.
-     */
-    public boolean finerEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "finer".
-     */
-    public void finer(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "finer".
-     */
-    public void finer(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "finer".
-     */
-    public void finer(Throwable ex);
-    /**
-     * Log a method entry.
-     * <p>The logging is done using the <code>finer</code> level.
-     * The string message will start with <code>"ENTRY"</code> and
-     * include the class and method names.
-     * @param sourceClass Name of class that issued the logging request.
-     * @param sourceMethod Name of the method that issued the logging request.
-     */
-    public void entering(String sourceClass, String sourceMethod);
-    /**
-     * Log a method return.
-     * <p>The logging is done using the <code>finer</code> level.
-     * The string message will start with <code>"RETURN"</code> and
-     * include the class and method names.
-     * @param sourceClass Name of class that issued the logging request.
-     * @param sourceMethod Name of the method that issued the logging request.
-     */
-    public void exiting(String sourceClass, String sourceMethod);
-    /**
-     * Log throwing an exception.
-     * <p> Use to log that a method is
-     * terminating by throwing an exception. The logging is done using
-     * the <code>finer</code> level.
-     * <p> This is a convenience method that could be done
-     * instead by calling {@link #finer(String, Throwable)}.
-     * The string message will start with <code>"THROW"</code> and
-     * include the class and method names.
-     * @param sourceClass Name of class that issued the logging request.
-     * @param sourceMethod Name of the method that issued the logging request.
-     * @param thrown The Throwable that is being thrown.
-     */
-    public void throwing(String sourceClass, String sourceMethod,
-			 Throwable thrown);
-    /**
-     * Returns true if "finest" log messages are enabled.
-     * Returns false if "finest" log messages are disabled.
-     */
-    public boolean finestEnabled();
-    /**
-     * Writes both a message and exception to this writer.
-     * The message level is "finest".
-     */
-    public void finest(String msg, Throwable ex);
-    /**
-     * Writes a message to this writer.
-     * The message level is "finest".
-     */
-    public void finest(String msg);
-    /**
-     * Writes an exception to this writer.
-     * The exception level is "finest".
-     */
-    public void finest(Throwable ex);
-
-    /**
-     * Returns a 1.4 logging handler that can be used to direct application
-     * output to this GemFire logger using the standard JDK logger APIs.
-     * Each time this method is called it creates a new instance of a
-     * Handler so care should be taken to not call this method too often.
-     */
-    public Handler getHandler();
-    
-    /**
-     * A mechanism for accessing the abstraction layer used for 
-     * internationalization.
-     * @return LogWriterI18n
-     */
-    public LogWriterI18n convertToLogWriterI18n();
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/NoSystemException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/NoSystemException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/NoSystemException.java
deleted file mode 100644
index 8490d1a..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/NoSystemException.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * A <code>NoSystemException</code> is thrown when a
- * locator can not be found or connected to.
- * In most cases one of the following subclasses is used instead
- * of <code>NoSystemException</code>:
- * <ul>
- * <li> {@link UncreatedSystemException}
- * <li> {@link UnstartedSystemException}
- * </ul>
- * <p>As of GemFire 5.0 this exception should be named NoLocatorException.
- */
-public class NoSystemException extends GemFireException {
-private static final long serialVersionUID = -101890149467219630L;
-
-  //////////////////////  Constructors  //////////////////////
-
-  /**
-   * Creates a new <code>NoSystemException</code>.
-   */
-  public NoSystemException(String message) {
-    super(message);
-  }
-  /**
-   * Creates a new <code>NoSystemException</code> with the given message
-   * and cause.
-   */
-  public NoSystemException(String message, Throwable cause) {
-      super(message, cause);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/OutOfOffHeapMemoryException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/OutOfOffHeapMemoryException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/OutOfOffHeapMemoryException.java
deleted file mode 100755
index 424d131..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/OutOfOffHeapMemoryException.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-/**
- * Indicates that attempts to allocate more objects in off-heap memory has
- * failed and the Cache will be closed to prevent it from losing distributed
- * consistency.
- * 
- * @author Kirk Lund
- */
-public class OutOfOffHeapMemoryException extends CancelException {
-  private static final long serialVersionUID = 4111959438738739010L;
-
-  /**
-   * Constructs an <code>OutOfOffHeapMemoryError</code> with no detail message.
-   */
-  public OutOfOffHeapMemoryException() {
-  }
-
-  /**
-   * Constructs an <code>OutOfOffHeapMemoryError</code> with the specified
-   * detail message.
-   *
-   * @param   message   the detail message.
-   */
-  public OutOfOffHeapMemoryException(String message) {
-    super(message);
-  }
-
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/SerializationException.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/SerializationException.java b/gemfire-core/src/main/java/com/gemstone/gemfire/SerializationException.java
deleted file mode 100644
index fd8a450..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/SerializationException.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-import com.gemstone.gemfire.GemFireIOException;
-
-/**
- * An exception indicating that a serialization or deserialization failed.
- * @author darrel
- * @since 5.7
- */
-public class SerializationException extends GemFireIOException {
-private static final long serialVersionUID = 7783018024920098997L;
-  /**
-   * 
-   * Create a new instance of SerializationException with a detail message
-   * @param message the detail message
-   */
-  public SerializationException(String message) {
-    super(message);
-  }
-
-  /**
-   * Create a new instance of SerializationException with a detail message and cause
-   * @param message the detail message
-   * @param cause the cause
-   */
-  public SerializationException(String message, Throwable cause) {
-    super(message, cause);
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f6c4c2f9/gemfire-core/src/main/java/com/gemstone/gemfire/StatisticDescriptor.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/StatisticDescriptor.java b/gemfire-core/src/main/java/com/gemstone/gemfire/StatisticDescriptor.java
deleted file mode 100644
index c658368..0000000
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/StatisticDescriptor.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.gemstone.gemfire;
-
-//import com.gemstone.gemfire.internal.Assert;
-//import com.gemstone.gemfire.internal.FieldInfo;
-
-/**
- * Describes an individual statistic whose value is updated by an
- * application and may be archived by GemFire.  These descriptions are
- * gathered together in a {@link StatisticsType}.
- *
- * <P>
- * To get an instance of this interface use an instance of
- * {@link StatisticsFactory}.
- * <P>
- * <code>StatisticDescriptor</code>s are naturally ordered by their name.
- *
- * @author David Whitlock
- * @author Darrel Schneider
- *
- * @since 3.0
- */
-public interface StatisticDescriptor extends Comparable<StatisticDescriptor> {
-
-  ////////////////////  Instance Methods  ////////////////////
-
-  /**
-   * Returns the id of this statistic in a {@link StatisticsType
-   * statistics type}.  The id is initialized when its statistics
-   * type is created.
-   *
-   * @throws IllegalStateException
-   *         The id has not been initialized yet
-   */
-  public int getId();
-
-  /**
-   * Returns the name of this statistic
-   */
-  public String getName();
-
-  /**
-   * Returns a description of this statistic
-   */
-  public String getDescription();
-
-  /**
-   * Returns the type of this statistic
-   */
-  public Class<?> getType();
-
-  /**
-   * Returns true if this statistic is a counter; false if its a gauge.
-   * Counter statistics have values that always increase.
-   * Gauge statistics have unconstrained values.
-   */
-  public boolean isCounter();
-
-  /**
-   * Returns true if a larger statistic value indicates better performance.
-   */
-  public boolean isLargerBetter();
-  /**
-   * Returns the unit in which this statistic is measured
-   */
-  public String getUnit();
-}