Index: mojo/public/java/system/src/org/chromium/mojo/system/MojoException.java |
diff --git a/mojo/public/java/system/src/org/chromium/mojo/system/MojoException.java b/mojo/public/java/system/src/org/chromium/mojo/system/MojoException.java |
deleted file mode 100644 |
index e06f647aeb023bcf85c23a802234f8698c823f41..0000000000000000000000000000000000000000 |
--- a/mojo/public/java/system/src/org/chromium/mojo/system/MojoException.java |
+++ /dev/null |
@@ -1,36 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-package org.chromium.mojo.system; |
- |
-/** |
- * Exception for the core mojo API. |
- */ |
-public class MojoException extends RuntimeException { |
- |
- private final int mCode; |
- |
- /** |
- * Constructor. |
- */ |
- public MojoException(int code) { |
- mCode = code; |
- } |
- |
- /** |
- * The mojo result code associated with this exception. See {@link MojoResult} for possible |
- * values. |
- */ |
- public int getMojoResult() { |
- return mCode; |
- } |
- |
- /** |
- * @see Object#toString() |
- */ |
- @Override |
- public String toString() { |
- return "MojoResult(" + mCode + "): " + MojoResult.describe(mCode); |
- } |
-} |