mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 05:55:48 +08:00
Reviewed By: jingc Differential Revision: D3675858 fbshipit-source-id: 6e1fd4f9476afb28f9c24978be3a7a7cc50afaba
22 lines
628 B
Java
22 lines
628 B
Java
/**
|
|
* 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);
|
|
}
|
|
}
|