mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 17:31:39 +08:00
Move JavascriptException from react/modules/core to react/common
Reviewed By: jingc Differential Revision: D3675858 fbshipit-source-id: 6e1fd4f9476afb28f9c24978be3a7a7cc50afaba
This commit is contained in:
committed by
Facebook Github Bot 9
parent
a4bff46791
commit
3feef3ff72
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user