Uses of Class
org.objectweb.jonathan.apis.kernel.JonathanException

Packages that use JonathanException
org.objectweb.fractal.rmi Provides a protocol, an object adapter and a binder component. 
org.objectweb.fractal.rmi.io Provides a marshaller and unmarshaller factory component. 
org.objectweb.fractal.rmi.registry Provides a Fractal components registry component. 
org.objectweb.fractal.rmi.stub Provides a stub and skeleton factory component based on ASM
org.objectweb.jonathan.apis.binding Provides a set of classes and interfaces for application level identifiers, naming contexts and binders. 
org.objectweb.jonathan.apis.kernel   
org.objectweb.jonathan.apis.presentation Provides a set of classes and interfaces for presentation protocols (marshallers and unmarshallers). 
org.objectweb.jonathan.apis.protocols Provides a set of classes and interfaces for communication protocols. 
org.objectweb.jonathan.apis.protocols.ip Provides a set of classes and interfaces refining the binding abstractions in the case of IP protocols, and introduces some connection management abstractions. 
org.objectweb.jonathan.apis.resources Provides a set of classes and interfaces dealing with resource management. 
org.objectweb.jonathan.apis.stub_factories Provides an interface for stub factories. 
org.objectweb.jonathan.libs.protocols.tcpip Provides a set of classes giving access to the TCP/IP protocol stack. 
org.objectweb.jonathan.libs.resources.tcpip Provides a default implementation for TCP/IP connection management. 
 

Uses of JonathanException in org.objectweb.fractal.rmi
 

Methods in org.objectweb.fractal.rmi that throw JonathanException
 ProtocolGraph RmiProtocol.createProtocolGraph(ProtocolGraph[] subgraphs, Context hints)
          Creates a new protocol graph with a number of given sub protocol graphs.
 SessionIdentifier RmiProtocol.createSessionIdentifier(java.util.Properties info, SessionIdentifier[] next)
          Creates a new session identifier with the provided info.
 Identifier RmiBinder.decode(byte[] data, int offset, int length)
          Decodes an identifier from a buffer portion.
 Identifier RmiAdapter.decode(byte[] data, int offset, int length)
          Decodes an identifier from a buffer portion.
 Identifier RmiBinder.decode(UnMarshaller u)
          Decodes an identifier from the provided unmarshaller.
 Identifier RmiAdapter.decode(UnMarshaller u)
          Decodes an identifier from the provided unmarshaller.
 Identifier RmiBinder.export(java.lang.Object obj, Context hints)
          Creates a new identifier for the object interface designated by the obj parameter.
 Identifier RmiAdapter.export(java.lang.Object obj, Context hints)
          Creates a new identifier for the object interface designated by the obj parameter.
 

Uses of JonathanException in org.objectweb.fractal.rmi.io
 

Methods in org.objectweb.fractal.rmi.io that throw JonathanException
 boolean RmiUnMarshaller.readBoolean()
          Reads a boolean.
 byte RmiUnMarshaller.readByte()
          Reads a byte.
 void RmiUnMarshaller.readByteArray(byte[] array, int off, int len)
          Reads an array of bytes.
 char RmiUnMarshaller.readChar16()
          Reads a 16 bits char.
 char RmiUnMarshaller.readChar8()
          Reads a 8 bits char.
 double RmiUnMarshaller.readDouble()
          Reads a double.
 float RmiUnMarshaller.readFloat()
          Reads a float.
 int RmiUnMarshaller.readInt()
          Reads an int.
 long RmiUnMarshaller.readLong()
          Reads a long.
 java.lang.Object RmiUnMarshaller.readReference()
          Reads a reference to an object.
 short RmiUnMarshaller.readShort()
          Reads a short.
 java.lang.String RmiUnMarshaller.readString16()
          Reads a string composed of 16 bits chars.
 java.lang.String RmiUnMarshaller.readString8()
          Reads a string composed of 8 bits chars.
 java.lang.Object RmiUnMarshaller.readValue()
          Reads a value.
 void RmiUnMarshaller.setSize(int size)
          Sets the number of bytes readable from the unmarshaller.
 void RmiMarshaller.writeBoolean(boolean v)
          Writes a boolean.
 void RmiMarshaller.writeByte(byte v)
          Writes a byte.
 void RmiMarshaller.writeByteArray(byte[] array, int off, int len)
          Writes an array of bytes.
 void RmiMarshaller.writeChar16(char v)
          Writes a 16 bits char.
 void RmiMarshaller.writeChar8(char v)
          Writes an 8 bits char.
 void RmiMarshaller.writeDouble(double v)
          Writes a double.
 void RmiMarshaller.writeFloat(float v)
          Writes a float.
 void RmiMarshaller.writeInt(int v)
          Writes an int.
 void RmiMarshaller.writeLong(long v)
          Writes a long.
 void RmiMarshaller.writeReference(java.lang.Object v)
          Writes an object reference in the marshaller.
 void RmiMarshaller.writeShort(short v)
          Writes a short.
 void RmiMarshaller.writeString16(java.lang.String v)
          Writes a string of 16 bits chars.
 void RmiMarshaller.writeString8(java.lang.String v)
          Writes a string of 8 bits chars.
 void RmiMarshaller.writeValue(java.lang.Object v)
          Writes a value in the marshaller.
 

Uses of JonathanException in org.objectweb.fractal.rmi.registry
 

Methods in org.objectweb.fractal.rmi.registry that throw JonathanException
static NamingService Registry.getRegistry(java.lang.String host, int port, NamingContext binder)
          Returns a reference to the NamingService on the given host and port.
static NamingService Registry.getRegistry(java.lang.String host, NamingContext binder)
          Returns a reference to the NamingService on the given host, for the default port.
 

Uses of JonathanException in org.objectweb.fractal.rmi.stub
 

Methods in org.objectweb.fractal.rmi.stub that throw JonathanException
protected  void Skeleton.handleException(java.lang.Exception e, ReplySession session)
          Handles an exception that happened in this skeleton.
protected  void Skeleton.handleInterfaceMethods(UnMarshaller unmarshaller, ReplySession session, int methodIndex)
          Handles invocations messages corresponding to methods of the Interface interface.
 RequestSession SkeletonFactory.newSkeleton(java.lang.Object target)
          Creates a new skeleton implementing the RequestSession interface.
 RequestSession RmiStubFactory.newSkeleton(java.lang.Object target)
           
 RequestSession MyRmiStubFactory.newSkeleton(java.lang.Object target)
           
 java.lang.Object RmiStubFactory.newStub(SessionIdentifier sessionId, Identifier[] ids, Context hints)
          Creates a new stub.
 java.lang.Object MyRmiStubFactory.newStub(SessionIdentifier sessionId, Identifier[] ids, Context hints)
          Creates a new stub.
abstract  void Skeleton.send(UnMarshaller unmarshaller, ReplySession session)
          Sends a message (a request) to its recipient.
 

Uses of JonathanException in org.objectweb.jonathan.apis.binding
 

Subclasses of JonathanException in org.objectweb.jonathan.apis.binding
 class BindException
          BindException is a checked exception that indicates that an error occurred when trying to bind an interface.
 class ExportException
          ExportException is a checked exception that an interface could not be exported for some reason.
 class ForwardException
          ForwardException is a checked exception raised by bind or listen operations or to indicate that another reference should be used to designate the targeted object interface.
 

Methods in org.objectweb.jonathan.apis.binding that throw JonathanException
 java.lang.Object Identifier.bind(Identifier[] ref, Context hints)
          The bind operation returns an object giving access to the object interface referenced by the target identifier.
 Identifier NamingContext.decode(byte[] data, int offset, int length)
          Decodes an identifier from a buffer portion.
 Identifier NamingContext.decode(UnMarshaller u)
          Decodes an identifier from the provided unmarshaller.
 byte[] Identifier.encode()
          Encodes the target identifier in an array of bytes.
 void Identifier.encode(Marshaller m)
          Encodes the target identifier in a marshaller.
 Identifier NamingContext.export(java.lang.Object itf, Context hints)
          Creates a new identifier for the object interface designated by the itf parameter.
 

Uses of JonathanException in org.objectweb.jonathan.apis.kernel
 

Methods in org.objectweb.jonathan.apis.kernel that throw JonathanException
 Element Context.addElement(Name name, java.lang.Class type, int value)
          Adds an element to the target context.
 Element Context.addElement(Name name, java.lang.Class type, java.lang.Object value)
          Adds an element in the target context.
 Element Context.addElement(Name name, Component component)
          Adds an element in the target context.
 Element Context.addElement(java.lang.String name, java.lang.Class type, int value, char separator)
          Adds an element to the target context.
 Element Context.addElement(java.lang.String name, java.lang.Class type, java.lang.Object value, char separator)
          Adds an element to the target context.
 Element Context.addElement(java.lang.String name, Component component, char separator)
          Adds an element to the target context.
 Context Context.addOrGetContext(Name _name)
           
 Context Context.addOrGetContext(java.lang.String _name, char _separator)
           
 java.lang.Object Component.getFactoryValue()
           
 

Uses of JonathanException in org.objectweb.jonathan.apis.presentation
 

Subclasses of JonathanException in org.objectweb.jonathan.apis.presentation
 class EndOfMessageException
          EndOfMessageException is a checked exception that indicates that the end of the message on which some operation is performed has been reached.
 class MarshalException
          MarshalException is a checked exception that indicates that an error occured when marshalling data.
 class UnMarshalException
          UnMarshalException is a checked exception that indicates that an error occurred when unmarshalling data.
 

Methods in org.objectweb.jonathan.apis.presentation that throw JonathanException
 boolean UnMarshaller.readBoolean()
          Reads a boolean.
 byte UnMarshaller.readByte()
          Reads a byte.
 void UnMarshaller.readByteArray(byte[] array, int offset, int len)
          Reads an array of bytes.
 char UnMarshaller.readChar16()
          Reads a 16 bits char.
 char UnMarshaller.readChar8()
          Reads a 8 bits char.
 double UnMarshaller.readDouble()
          Reads a double.
 float UnMarshaller.readFloat()
          Reads a float.
 int UnMarshaller.readInt()
          Reads an int.
 long UnMarshaller.readLong()
          Reads a long.
 java.lang.Object UnMarshaller.readReference()
          Reads a reference to an object.
 short UnMarshaller.readShort()
          Reads a short.
 java.lang.String UnMarshaller.readString16()
          Reads a string composed of 16 bits chars.
 java.lang.String UnMarshaller.readString8()
          Reads a string composed of 8 bits chars.
 java.lang.Object UnMarshaller.readValue()
          Reads a value
 void UnMarshaller.setSize(int size)
          Sets the number of bytes readable from the unmarshaller.
 void Marshaller.writeBoolean(boolean b)
          Writes a boolean.
 void Marshaller.writeByte(byte b)
          Writes a byte.
 void Marshaller.writeByteArray(byte[] array, int offset, int length)
          Writes an array of bytes.
 void Marshaller.writeChar16(char i)
          Writes a 16 bits char.
 void Marshaller.writeChar8(char i)
          Writes an 8 bits char.
 void Marshaller.writeDouble(double d)
          Writes a double.
 void Marshaller.writeFloat(float f)
          Writes a float.
 void Marshaller.writeInt(int i)
          Writes an int.
 void Marshaller.writeLong(long i)
          Writes a long.
 void Marshaller.writeReference(java.lang.Object obj)
          Writes an object reference in the marshaller.
 void Marshaller.writeShort(short i)
          Writes a short.
 void Marshaller.writeString16(java.lang.String s)
          Writes a string of 16 bits chars.
 void Marshaller.writeString8(java.lang.String s)
          Writes a string of 8 bits chars.
 void Marshaller.writeValue(java.lang.Object obj)
          Writes a value in the marshaller.
 

Uses of JonathanException in org.objectweb.jonathan.apis.protocols
 

Subclasses of JonathanException in org.objectweb.jonathan.apis.protocols
 class CommunicationException
          CommunicationException is a checked exception that indicates that an error occurred when trying to communicate with a remote object interface.
 class ServerException
          ServerException is a checked exception encapsulating an applicative exception raised by a remote object.
 

Methods in org.objectweb.jonathan.apis.protocols with parameters of type JonathanException
 void Session_Low.send(JonathanException exception, Session_High session)
          Sends an exception up a protocol stack.
 

Methods in org.objectweb.jonathan.apis.protocols that throw JonathanException
 Session_High SessionIdentifier.bind(Session_Low hls)
          Returns a local session representing the session designated by the provided lower session interface.
 ProtocolGraph Protocol.createProtocolGraph(ProtocolGraph[] subgraphs, Context hints)
          Creates a new protocol graph with a number of given sub protocol graphs.
 SessionIdentifier Protocol.createSessionIdentifier(java.util.Properties info, SessionIdentifier[] next)
          Creates a new session identifier with the provided info.
 SessionIdentifier ProtocolGraph.export(Session_Low hls)
          Exports a session using the graph represented by the target object.
 Context SessionIdentifier.getInfo()
          Yield info about this session, as a Context.
 UnMarshaller ReplyInterface.listen()
          Returns a message containing the reply to the request.
 SessionIdentifier[] SessionIdentifier.next()
          Return the session identifiers corresponding to the lower level protocol layers, if any.
 void Session_High.prepare(Marshaller m)
          Lets the target session write its own headers into the provided message (one-way case).
 Marshaller ReplySession.prepareExceptionReply()
          Lets the target session write its own headers into a newly created message and returns it (exception case) An entity wishing to send a message as a reply to an invocation must not create a marshaller on its own and directly send it down the protocol stack.
 ReplyInterface Session_High.prepareInvocation(Marshaller m)
           
 Marshaller ReplySession.prepareLocationForwardReply()
          Lets the target session write its own headers into a newly created message and returns it (location forward case) An entity wishing to send a message as a reply to an invocation must not create a marshaller on its own and directly send it down the protocol stack.
 Marshaller ReplySession.prepareReply()
          Lets the target session write its own headers into a newly created message and returns it (standard reply case) An entity wishing to send a message as a reply to an invocation must not create a marshaller on its own and directly send it down the protocol stack.
 Marshaller ReplySession.prepareSystemExceptionReply()
          Lets the target session write its own headers into a newly created message and returns it (system exception case) An entity wishing to send a message as a reply to an invocation must not create a marshaller on its own and directly send it down the protocol stack.
 void Session_High.send(Marshaller m)
          Sends the message down the protocol stack.
 void ReplySession.send(Marshaller m)
          Sends the reply down the protocol stack.
 void RequestSession.send(UnMarshaller message, ReplySession session)
          Sends a message (a request) to its recipient.
 void Session_Low.send(UnMarshaller message, Session_High session)
          Sends a message up a protocol stack.
 

Uses of JonathanException in org.objectweb.jonathan.apis.protocols.ip
 

Methods in org.objectweb.jonathan.apis.protocols.ip that throw JonathanException
 IpConnection TcpIpConnectionMgr.newCltConnection(java.lang.String host, int port, IpSession session)
          Returns a new client connection.
 IpConnection UdpConnectionMgr.newConnection(java.lang.String host, int port, IpSession session)
           
 IpConnection TcpIpSrvConnectionFactory.newSrvConnection(IpSession session)
          Returns a new connection for the provided session, obtained from the encapuslated server socket.
 TcpIpSrvConnectionFactory TcpIpConnectionMgr.newSrvConnectionFactory(int port)
          Returns a new server connection factory encapsulating a server socket on the provided port.
 

Uses of JonathanException in org.objectweb.jonathan.apis.resources
 

Methods in org.objectweb.jonathan.apis.resources that throw JonathanException
 Chunk Chunk.duplicate()
          Duplicates the whole chunk.
 Chunk Chunk.duplicate(int offset, int top)
          Partially duplicates this chunk.
 Chunk ChunkProvider.prepare()
          Returns a chunk to read data from.
 

Uses of JonathanException in org.objectweb.jonathan.apis.stub_factories
 

Methods in org.objectweb.jonathan.apis.stub_factories that throw JonathanException
 java.lang.Object StubFactory.newStub(SessionIdentifier session_id, Identifier[] ids, Context hints)
          Creates a new stub.
 

Uses of JonathanException in org.objectweb.jonathan.libs.protocols.tcpip
 

Methods in org.objectweb.jonathan.libs.protocols.tcpip that throw JonathanException
 SessionIdentifier TcpIpProtocol.createSessionIdentifier(java.util.Properties info, SessionIdentifier[] next)
           
 

Uses of JonathanException in org.objectweb.jonathan.libs.resources.tcpip
 

Methods in org.objectweb.jonathan.libs.resources.tcpip that throw JonathanException
protected  JConnectionMgr.Connection JConnectionMgr.newCltConnection(IpConnection connection)
          Builds a new client-side connection encapsulating the provided connection.
 IpConnection JConnectionMgr.newCltConnection(java.lang.String host, int port, IpSession session)
          Returns a new client connection.
 IpConnection IPv4ConnectionFactory.newCltConnection(java.lang.String host, int port, IpSession session)
          Builds a new client-side connection with the provided parameters.
protected  org.objectweb.jonathan.libs.resources.tcpip.IPv4ConnectionFactory.Connection IPv4ConnectionFactory.newSrvConnection(java.net.Socket socket, IpSession session, java.lang.String host, int port)
          Builds a new server-side connection with the provided parameters.
 TcpIpSrvConnectionFactory JConnectionMgr.newSrvConnectionFactory(int port)
          Returns a new server connection factory encapsulating a server socket on the provided port.
 TcpIpSrvConnectionFactory IPv4ConnectionFactory.newSrvConnectionFactory(int port)
          Returns a new server connection factory encapsulating a server socket on the provided port.
 

Constructors in org.objectweb.jonathan.libs.resources.tcpip that throw JonathanException
IPv4ConnectionFactory()
          Returns a new IPv4ConnectionFactory with default parameters.
IPv4ConnectionFactory(java.lang.String localhost_value, boolean verbose, int SO_LINGER, int SO_TIMEOUT, boolean TCP_NODELAY, int backlog, int max_retries, boolean use_address_as_name)
          Returns a new IPv4 connection factory
 



Copyright © 2008 OW2 Consortium. All Rights Reserved.