Subversion Repository Public Repository

litesoft

Diff Revisions 948 vs 950 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/eventbus/client/ExceptionEventPackage.java

Diff revisions: vs.
  @@ -1,38 +1,38 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.eventbus.client;
3 -
4 - import org.litesoft.GWT.eventbus.client.nonpublic.*;
5 - import org.litesoft.GWT.eventbus.client.rpc.*;
6 - import org.litesoft.commonfoundation.issues.*;
7 -
8 - public class ExceptionEventPackage extends AbstractNoXtraEventPackage implements ChannelEventPackage {
9 - public static final String TYPE = "Exception";
10 -
11 - private static final long serialVersionUID = 1L;
12 -
13 - private Problem mProblem;
14 -
15 - /**
16 - * @deprecated GWT ONLY
17 - */
18 - public ExceptionEventPackage() {
19 - }
20 -
21 - /**
22 - * Used to retarget an event. Say A calls B calls C. C returns an exception
23 - * to B. Use this method to return the exception to A and make it appear to
24 - * be from B.
25 - */
26 - public ExceptionEventPackage( String pSourceName, String pTargetName, ExceptionEventPackage pCause ) {
27 - this( pSourceName, pTargetName, pCause.getProblem() );
28 - }
29 -
30 - public ExceptionEventPackage( String pSourceName, String pTargetName, Problem pProblem ) {
31 - super( pSourceName, pTargetName, TYPE );
32 - mProblem = pProblem;
33 - }
34 -
35 - public Problem getProblem() {
36 - return mProblem;
37 - }
38 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.eventbus.client;
3 +
4 + import org.litesoft.GWT.eventbus.client.nonpublic.*;
5 + import org.litesoft.GWT.eventbus.client.rpc.*;
6 + import org.litesoft.commonfoundation.issues.*;
7 +
8 + public class ExceptionEventPackage extends AbstractNoXtraEventPackage implements ChannelEventPackage {
9 + public static final String TYPE = "Exception";
10 +
11 + private static final long serialVersionUID = 1L;
12 +
13 + private Problem mProblem;
14 +
15 + /**
16 + * @deprecated GWT ONLY
17 + */
18 + public ExceptionEventPackage() {
19 + }
20 +
21 + /**
22 + * Used to retarget an event. Say A calls B calls C. C returns an exception
23 + * to B. Use this method to return the exception to A and make it appear to
24 + * be from B.
25 + */
26 + public ExceptionEventPackage( String pSourceName, String pTargetName, ExceptionEventPackage pCause ) {
27 + this( pSourceName, pTargetName, pCause.getProblem() );
28 + }
29 +
30 + public ExceptionEventPackage( String pSourceName, String pTargetName, Problem pProblem ) {
31 + super( pSourceName, pTargetName, TYPE );
32 + mProblem = pProblem;
33 + }
34 +
35 + public Problem getProblem() {
36 + return mProblem;
37 + }
38 + }