mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add native module for loading split JS bundles in development
Reviewed By: mdvacca, cpojer Differential Revision: D22001709 fbshipit-source-id: 4e378fd6ae90268e7db9092a71628205b9f7c37d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2e2c881147
commit
fca3a39da5
@@ -40,16 +40,25 @@ public class DebugServerException extends RuntimeException {
|
||||
return new DebugServerException(reason + message + extra, t);
|
||||
}
|
||||
|
||||
private final String mOriginalMessage;
|
||||
|
||||
private DebugServerException(String description, String fileName, int lineNumber, int column) {
|
||||
super(description + "\n at " + fileName + ":" + lineNumber + ":" + column);
|
||||
mOriginalMessage = description;
|
||||
}
|
||||
|
||||
public DebugServerException(String description) {
|
||||
super(description);
|
||||
mOriginalMessage = description;
|
||||
}
|
||||
|
||||
public DebugServerException(String detailMessage, Throwable throwable) {
|
||||
super(detailMessage, throwable);
|
||||
mOriginalMessage = detailMessage;
|
||||
}
|
||||
|
||||
public String getOriginalMessage() {
|
||||
return mOriginalMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user