Comments (5)
My vote is for figuring out the right way to allow hosted mode JSNI methods to throw
checked exceptions of the correct type. One way we could perhaps do this is declare
the inner JavaScriptHost methods to throw Throwable. Then we generate into the
rewritten methods something like this:
try {
<method body>
} catch (CheckedException e) {
throw e;
} catch (CheckedException2 e) {
throw e;
} catch (Throwable e) {
// log a warning?
throw new RuntimeException/JavaScriptException("message", e);
}
Reported by gwt.team.scottb
on 2006-12-18 19:24:01
from gwt.
Reported by gwt.team.bruce
on 2007-01-22 21:48:10
- Labels added: Category-HostedMode
from gwt.
vdvdfff
Reported by raju.chellappa
on 2007-03-31 05:35:23
from gwt.
i dun quite get this error...
Reported by tianforever2007
on 2007-10-01 08:26:34
from gwt.
Reported by [email protected]
on 2008-04-08 15:07:18
- Status changed:
AssumedStale
from gwt.
Related Issues (20)
- Looking for a solution to authorize and secure GWT RPC API calls HOT 2
- Java 9 BigInteger constructors with offset/length params missing HOT 4
- RequestFactory tests fails under java 21 due to changes in the List API
- GWT release with Jetty 11.x HOT 2
- Remove general usage of Window `unload` event
- Explore options to update `long` emulation
- Enum and Enum[] can't be received on Java 21
- Properties defined with JsProperty are not enumerable, do not work with spread operator HOT 1
- java.io.Reader.read(char[] buf/char[] buf, int off, int len) must throw IOException
- GWT compile errors when trying to build with GWT 2.10 or 2.11 HOT 14
- Finish removing deprecated SynchronousFragmentLoadCallback
- Explore eagerly initializing selected classes HOT 2
- GWT 2.12 deprecations/removals HOT 1
- Can't set UNNECESSARY roundingMode HOT 3
- Error on compile Java 8 - GWT 2.11 HOT 3
- Optimize out casts that must succeed
- Compile error - GWT Google Web Toolkit (2.10.0, 2.10.1, 2.11.0) on java17. HOT 13
- SerializableThrowable does not handle suppressed exceptions
- StackTraceDeobfuscator sometimes produces total nonsense HOT 5
- Regression in jsinterop varargs causing internal compiler error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt.