Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-11-04 09:58:14 +0000
committerEike Stepper2008-11-04 09:58:14 +0000
commit29d2ec870a4666f4ddfba4bcd0727aa60953eafc (patch)
tree58ca1d644294f6c2fb41b6ed6a19a96dd553dea0 /plugins/org.eclipse.net4j.buddies.common
parentaac49607637484bcd3de42fa09393b2f896caa10 (diff)
downloadcdo-29d2ec870a4666f4ddfba4bcd0727aa60953eafc.tar.gz
cdo-29d2ec870a4666f4ddfba4bcd0727aa60953eafc.tar.xz
cdo-29d2ec870a4666f4ddfba4bcd0727aa60953eafc.zip
[252221] Provide proper RemoteException for signals
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252221
Diffstat (limited to 'plugins/org.eclipse.net4j.buddies.common')
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateIndication.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateNotification.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftIndication.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftNotification.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageIndication.java3
-rw-r--r--plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageNotification.java3
6 files changed, 6 insertions, 12 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateIndication.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateIndication.java
index 440f45a38b..059715ddaa 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateIndication.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateIndication.java
@@ -15,7 +15,6 @@ import org.eclipse.net4j.signal.Indication;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataInputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -28,7 +27,7 @@ public abstract class BuddyStateIndication extends Indication
}
@Override
- protected void indicating(ExtendedDataInputStream in) throws IOException
+ protected void indicating(ExtendedDataInputStream in) throws Exception
{
String userID = in.readString();
State state = ProtocolUtil.readState(in);
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateNotification.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateNotification.java
index 97c454e9cb..b35096fd6c 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateNotification.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/BuddyStateNotification.java
@@ -15,7 +15,6 @@ import org.eclipse.net4j.signal.Request;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataOutputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -34,7 +33,7 @@ public class BuddyStateNotification extends Request
}
@Override
- protected void requesting(ExtendedDataOutputStream out) throws IOException
+ protected void requesting(ExtendedDataOutputStream out) throws Exception
{
out.writeString(userID);
ProtocolUtil.writeState(out, state);
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftIndication.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftIndication.java
index 406fb4b5e2..9ee37805cb 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftIndication.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftIndication.java
@@ -18,7 +18,6 @@ import org.eclipse.net4j.signal.Indication;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataInputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -38,7 +37,7 @@ public class CollaborationLeftIndication extends Indication
}
@Override
- protected void indicating(ExtendedDataInputStream in) throws IOException
+ protected void indicating(ExtendedDataInputStream in) throws Exception
{
long collaborationID = in.readLong();
String userID = in.readString();
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftNotification.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftNotification.java
index 7fd1835278..5fa4471000 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftNotification.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/CollaborationLeftNotification.java
@@ -14,7 +14,6 @@ import org.eclipse.net4j.signal.Request;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataOutputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -33,7 +32,7 @@ public class CollaborationLeftNotification extends Request
}
@Override
- protected void requesting(ExtendedDataOutputStream out) throws IOException
+ protected void requesting(ExtendedDataOutputStream out) throws Exception
{
out.writeLong(collaborationID);
out.writeString(userID);
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageIndication.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageIndication.java
index f1d812b1f7..89c5d8a5ab 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageIndication.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageIndication.java
@@ -18,7 +18,6 @@ import org.eclipse.net4j.signal.Indication;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataInputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -34,7 +33,7 @@ public class MessageIndication extends Indication
}
@Override
- protected void indicating(ExtendedDataInputStream in) throws IOException
+ protected void indicating(ExtendedDataInputStream in) throws Exception
{
long collaborationID = in.readLong();
String facilityType = in.readString();
diff --git a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageNotification.java b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageNotification.java
index 726c70f4a3..f4e8e13411 100644
--- a/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageNotification.java
+++ b/plugins/org.eclipse.net4j.buddies.common/src/org/eclipse/net4j/buddies/internal/common/protocol/MessageNotification.java
@@ -15,7 +15,6 @@ import org.eclipse.net4j.signal.Request;
import org.eclipse.net4j.signal.SignalProtocol;
import org.eclipse.net4j.util.io.ExtendedDataOutputStream;
-import java.io.IOException;
/**
* @author Eike Stepper
@@ -37,7 +36,7 @@ public class MessageNotification extends Request
}
@Override
- protected void requesting(ExtendedDataOutputStream out) throws IOException
+ protected void requesting(ExtendedDataOutputStream out) throws Exception
{
out.writeLong(collaborationID);
out.writeString(facilityType);

Back to the top