public class BrokenRemoteRepository extends java.lang.Object implements RemoteRepository
RemoteException
whenever any method is invoked. Used as a sentinel object by the
SafeClientRepository class.| Constructor and Description |
|---|
BrokenRemoteRepository()
Creates a remote repository whose methods throw a remote exception.
|
BrokenRemoteRepository(java.rmi.RemoteException exception)
Creates a remote repository whose methods throw the given
exception.
|
BrokenRemoteRepository(java.lang.String message)
Creates a remote repository whose methods trow a remote
exception with the given message.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptor(java.lang.String key)
Throws a
RemoteException. |
java.lang.String[] |
getDescriptorKeys()
Throws a
RemoteException. |
Value |
getDescriptorValue(java.lang.String key)
Throws a
RemoteException. |
Value[] |
getDescriptorValues(java.lang.String key)
Throws a
RemoteException. |
boolean |
isSingleValueDescriptor(java.lang.String key)
Throws a
RemoteException. |
boolean |
isStandardDescriptor(java.lang.String key)
Throws a
RemoteException. |
RemoteSession |
login()
Throws a
RemoteException. |
RemoteSession |
login(Credentials credentials)
Throws a
RemoteException. |
RemoteSession |
login(Credentials credentials,
java.lang.String workspace)
Throws a
RemoteException. |
RemoteSession |
login(java.lang.String workspace)
Throws a
RemoteException. |
public BrokenRemoteRepository(java.rmi.RemoteException exception)
exception - remote exceptionpublic BrokenRemoteRepository(java.lang.String message)
message - exception messagepublic BrokenRemoteRepository()
public java.lang.String getDescriptor(java.lang.String key)
throws java.rmi.RemoteException
RemoteException.getDescriptor in interface RemoteRepositorykey - ignoredjava.rmi.RemoteException - always thrownpublic java.lang.String[] getDescriptorKeys()
throws java.rmi.RemoteException
RemoteException.getDescriptorKeys in interface RemoteRepositoryjava.rmi.RemoteException - always thrownpublic RemoteSession login() throws java.rmi.RemoteException
RemoteException.login in interface RemoteRepositoryjava.rmi.RemoteException - always thrownpublic RemoteSession login(java.lang.String workspace) throws java.rmi.RemoteException
RemoteException.login in interface RemoteRepositoryworkspace - ignoredjava.rmi.RemoteException - always thrownpublic RemoteSession login(Credentials credentials) throws java.rmi.RemoteException
RemoteException.login in interface RemoteRepositorycredentials - ignoredjava.rmi.RemoteException - always thrownpublic RemoteSession login(Credentials credentials, java.lang.String workspace) throws java.rmi.RemoteException
RemoteException.login in interface RemoteRepositoryworkspace - ignoredcredentials - ignoredjava.rmi.RemoteException - always thrownpublic Value getDescriptorValue(java.lang.String key)
throws java.rmi.RemoteException
RemoteException.getDescriptorValue in interface RemoteRepositorykey - ignoredjava.rmi.RemoteException - always thrownpublic Value[] getDescriptorValues(java.lang.String key)
throws java.rmi.RemoteException
RemoteException.getDescriptorValues in interface RemoteRepositorykey - ignoredjava.rmi.RemoteException - always thrownpublic boolean isSingleValueDescriptor(java.lang.String key)
throws java.rmi.RemoteException
RemoteException.isSingleValueDescriptor in interface RemoteRepositorykey - ignoredjava.rmi.RemoteException - always thrownpublic boolean isStandardDescriptor(java.lang.String key)
throws java.rmi.RemoteException
RemoteException.isStandardDescriptor in interface RemoteRepositorykey - ignoredjava.rmi.RemoteException - always thrown"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"