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:
Oleksandr Melnykov
2020-06-17 09:10:51 -07:00
committed by Facebook GitHub Bot
parent 2e2c881147
commit fca3a39da5
15 changed files with 272 additions and 46 deletions
@@ -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;
}
/**