Files
react-native/ReactAndroid/src/main/java/com/facebook/react/common/JavascriptException.java
Andrew Y. Chen 3feef3ff72 Move JavascriptException from react/modules/core to react/common
Reviewed By: jingc

Differential Revision: D3675858

fbshipit-source-id: 6e1fd4f9476afb28f9c24978be3a7a7cc50afaba
2016-08-05 14:28:30 -07:00

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);
}
}