Move JavascriptException from react/modules/core to react/common

Reviewed By: jingc

Differential Revision: D3675858

fbshipit-source-id: 6e1fd4f9476afb28f9c24978be3a7a7cc50afaba
This commit is contained in:
Andrew Y. Chen
2016-08-05 14:14:57 -07:00
committed by Facebook Github Bot 9
parent a4bff46791
commit 3feef3ff72
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com.facebook.react.common;
/**
* A JS exception that was propagated to native. In debug mode, these exceptions are normally shown
* to developers in a redbox.
*/
public class JavascriptException extends RuntimeException {
public JavascriptException(String jsStackTrace) {
super(jsStackTrace);
}
}