litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/event/client/PagingFailureEvent.java
|
@@ -21,16 +21,13 @@ |
21 |
21 |
|
/** |
22 |
22 |
|
* Logical event fired when a page fails to load. |
23 |
23 |
|
*/ |
24 |
|
- |
public class PagingFailureEvent extends AbstractEvent |
25 |
|
- |
{ |
|
24 |
+ |
public class PagingFailureEvent extends AbstractEvent { |
26 |
25 |
|
/** |
27 |
26 |
|
* Event Key for {@link PagingFailureEvent}. |
28 |
27 |
|
*/ |
29 |
|
- |
public static final Type<PagingFailureEvent, PagingFailureHandler> TYPE = new Type<PagingFailureEvent, PagingFailureHandler>() |
30 |
|
- |
{ |
|
28 |
+ |
public static final Type<PagingFailureEvent, PagingFailureHandler> TYPE = new Type<PagingFailureEvent, PagingFailureHandler>() { |
31 |
29 |
|
@Override |
32 |
|
- |
protected void fire( PagingFailureHandler handler, PagingFailureEvent event ) |
33 |
|
- |
{ |
|
30 |
+ |
protected void fire( PagingFailureHandler handler, PagingFailureEvent event ) { |
34 |
31 |
|
handler.onPagingFailure( event ); |
35 |
32 |
|
} |
36 |
33 |
|
}; |
|
@@ -45,22 +42,19 @@ |
45 |
42 |
|
* |
46 |
43 |
|
* @param exception the exception that caused the event |
47 |
44 |
|
*/ |
48 |
|
- |
public PagingFailureEvent( Throwable exception ) |
49 |
|
- |
{ |
|
45 |
+ |
public PagingFailureEvent( Throwable exception ) { |
50 |
46 |
|
this.exception = exception; |
51 |
47 |
|
} |
52 |
48 |
|
|
53 |
49 |
|
/** |
54 |
50 |
|
* @return the exception that caused the failure |
55 |
51 |
|
*/ |
56 |
|
- |
public Throwable getException() |
57 |
|
- |
{ |
|
52 |
+ |
public Throwable getException() { |
58 |
53 |
|
return exception; |
59 |
54 |
|
} |
60 |
55 |
|
|
61 |
56 |
|
@Override |
62 |
|
- |
protected Type getType() |
63 |
|
- |
{ |
|
57 |
+ |
protected Type getType() { |
64 |
58 |
|
return TYPE; |
65 |
59 |
|
} |
66 |
60 |
|
} |