Git Product home page Git Product logo

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 2 Sep 2007 at 5:39

  • Added labels: Milestone-1_1_0_ALPHA

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 2 Sep 2007 at 5:39

  • Changed state: Accepted

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 2 Sep 2007 at 5:40

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 7 Sep 2007 at 1:43

  • Added labels: Milestone-1_1_RC
  • Removed labels: Milestone-1_1_0_ALPHA

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 2 Jan 2008 at 2:33

  • Added labels: API-Gears

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Two part patch:

1) Apply exception-properties-issue1845-r1610.patch from GWT 1845#2:
   http://code.google.com/p/google-web-toolkit/issues/detail?id=1845#c2

2) Apply attached issue7-meaningful-exceptions-r82.patch which updates:

M     
samples/gwtnote/src/com/google/gwt/gears/sample/gwtnote/client/local/GearsHelper
.java
M      google-apis/src/com/google/gwt/gears/localserver/client/LocalServer.java
M      
google-apis/src/com/google/gwt/gears/localserver/client/ResourceStore.java
M      google-apis/src/com/google/gwt/gears/workerpool/client/WorkerPool.java
M      
google-apis/src/com/google/gwt/gears/database/client/DatabaseException.java
M      google-apis/src/com/google/gwt/gears/database/client/Database.java
M      google-apis/src/com/google/gwt/gears/database/client/ResultSet.java
M      google-apis/src/com/google/gwt/gears/core/client/GearsException.java
M      google-apis/src/com/google/gwt/gears/core/client/impl/GearsImpl.java

The net result is that something like this:
  [Object Object]

Is turned into:
  SQLite prepare() failed. ERROR: SQL logic error or missing database DETAILS: near
"foo": syntax error EXPRESSION: create table foo

Original comment by fredsa on 20 Jan 2008 at 7:15

Attachments:

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
For now, I think that we should just use the e.message || e.toString() pattern
instead of relying on a GWT patch that may not make it into GWT 1.5.

I also think that once GWT's improved JavaScriptObject handling is available 
(GWT
1.5), we should be able to overlay a Java type onto the JS exception and provide
better failure capture information.

Original comment by [email protected] on 22 Jan 2008 at 9:45

  • Changed state: ReviewPending

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Based on additional discussions, I conceded.  We will catch JavaScriptException 
in
the Java code and pass that as the cause to the GearsException types.

Committed as r86.

Original comment by [email protected] on 24 Jan 2008 at 7:37

  • Changed state: FixedNotReleased

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 9 Jun 2008 at 11:31

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 6 Nov 2008 at 6:27

  • Added labels: StatusFixed

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 6 Nov 2008 at 6:32

  • Changed state: Fixed

from gwt-google-apis.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 21 Dec 2009 at 1:57

from gwt-google-apis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.