summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/FixedReference.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-11-07 13:30:07 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-11-07 13:30:07 +0000
commitdb55fb00e84f8d62f51ad0e84a7ec74df01e2d69 (patch)
tree8a71bde0b16a5bd3924e1573655e554180e9f0a8 /java/src/IceInternal/FixedReference.java
parentFixed a few coding style issues. (diff)
downloadice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.tar.bz2
ice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.tar.xz
ice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.zip
Added FixedProxyException
Diffstat (limited to 'java/src/IceInternal/FixedReference.java')
-rw-r--r--java/src/IceInternal/FixedReference.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/java/src/IceInternal/FixedReference.java b/java/src/IceInternal/FixedReference.java
index aa8af85f51a..dc799cd6031 100644
--- a/java/src/IceInternal/FixedReference.java
+++ b/java/src/IceInternal/FixedReference.java
@@ -75,55 +75,55 @@ public class FixedReference extends Reference
public Reference
changeSecure(boolean sec)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeRouter(Ice.RouterPrx newRouter)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeLocator(Ice.LocatorPrx newLocator)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeCollocationOptimization(boolean newCollocationOptimization)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeAdapterId(String newAdapterId)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeEndpoints(EndpointI[] newEndpoints)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeLocatorCacheTimeout(int newTimeout)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public final Reference
changeCacheConnection(boolean newCache)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public final Reference
changeEndpointSelection(Ice.EndpointSelectionType newType)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
@@ -132,33 +132,33 @@ public class FixedReference extends Reference
// TODO: FixedReferences should probably have a _compress flag,
// that gets its default from the fixed connection this reference
// refers to. This should be changable with changeCompress().
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeTimeout(int newTimeout)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public Reference
changeConnectionId(String connectionId)
{
- return this;
+ throw new Ice.FixedProxyException();
}
public void
streamWrite(BasicStream s)
throws Ice.MarshalException
{
- throw new Ice.MarshalException("Cannot marshal a fixed proxy");
+ throw new Ice.FixedProxyException();
}
public String
toString()
throws Ice.MarshalException
{
- throw new Ice.MarshalException("Cannot marshal a fixed proxy");
+ throw new Ice.FixedProxyException();
}
public Ice.ConnectionI