Various deprecation cleanup.
Change-Id: Ic9f4a908c1ed2636dc024869f5625d3a0ca906c9
diff --git a/user/BUILD b/user/BUILD
index 35b2406..b4ff116 100644
--- a/user/BUILD
+++ b/user/BUILD
@@ -270,7 +270,6 @@
"src/com/google/gwt/json/client/JSONObject.java",
"src/com/google/gwt/json/client/JSONString.java",
"src/com/google/gwt/json/client/JSONValue.java",
- "src/com/google/gwt/core/client/impl/SerializableThrowable.java",
"src/com/google/gwt/core/client/JsonUtils.java",
"src/com/google/gwt/core/client/impl/WeakMapping.java",
"src/com/google/gwt/xhr/client/ReadyStateChangeHandler.java",
diff --git a/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java b/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java
deleted file mode 100644
index 509679a..0000000
--- a/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Copyright 2010 Google Inc.
- *
- * 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
- *
- * 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.google.gwt.core.client.impl;
-
-import java.io.Serializable;
-
-/**
- * @deprecated use {@link com.google.gwt.core.shared.SerializableThrowable} instead.
- */
-@Deprecated
-public class SerializableThrowable implements Serializable {
- private SerializableThrowable cause = null;
- private String message = null;
- private StackTraceElement[] stackTrace = null;
- private String typeName = null;
-
- /**
- * @deprecated use com.google.gwt.core.client.SerializableThrowable instead.
- */
- @Deprecated
- public static class ThrowableWithClassName extends Throwable {
-
- private String typeName;
-
- public ThrowableWithClassName(String message, Throwable cause, String typeName) {
- super(message, cause);
- this.typeName = typeName;
- }
-
- public ThrowableWithClassName(String message, String typeName) {
- super(message);
- this.typeName = typeName;
- }
-
- public String getExceptionClass() {
- return typeName;
- }
- }
-
- /**
- * Create a new SerializableThrowable from a Throwable.
- */
- public SerializableThrowable(Throwable t) {
- message = t.getMessage();
- if (t.getCause() != null && t.getCause() != t) {
- cause = new SerializableThrowable(t.getCause());
- }
- stackTrace = t.getStackTrace();
- typeName = t.getClass().getName();
- }
-
- protected SerializableThrowable() {
- // for serialization
- }
-
- public SerializableThrowable getCause() {
- return cause;
- }
-
- public String getMessage() {
- return message;
- }
-
- public StackTraceElement[] getStackTrace() {
- return stackTrace;
- }
-
- /**
- * Create a new Throwable from this SerializableThrowable.
- */
- public Throwable getThrowable() {
- Throwable t;
- if (cause != null) {
- t = new ThrowableWithClassName(message, cause.getThrowable(), typeName);
- } else {
- t = new ThrowableWithClassName(message, typeName);
- }
- t.setStackTrace(stackTrace);
- return t;
- }
-
- public void setCause(SerializableThrowable c) {
- cause = c;
- }
-
- public void setMessage(String msg) {
- message = msg;
- }
-
- public void setStackTrace(StackTraceElement[] st) {
- stackTrace = st;
- }
-}
diff --git a/user/test/com/google/gwt/http/HTTPSuite.java b/user/test/com/google/gwt/http/HTTPSuite.java
index 0956c1a..0a4c6c6 100644
--- a/user/test/com/google/gwt/http/HTTPSuite.java
+++ b/user/test/com/google/gwt/http/HTTPSuite.java
@@ -27,7 +27,6 @@
/**
* TODO: document me.
*/
-@Deprecated
public class HTTPSuite {
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite(