org.objectweb.dream.protocol
Class ExceptionChunk
java.lang.Object
org.objectweb.dream.message.AbstractChunk<ExceptionChunk>
org.objectweb.dream.protocol.ExceptionChunk
- All Implemented Interfaces:
- Externalizable, Serializable, Recyclable
public class ExceptionChunk
- extends AbstractChunk<ExceptionChunk>
General purpose chunk containing an exception.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAME
public static final String DEFAULT_NAME
- default name of chunk of this type.
- See Also:
- Constant Field Values
ExceptionChunk
public ExceptionChunk()
getException
public Exception getException()
- Returns the exception.
- Returns:
- the exception.
setException
public void setException(Exception e)
- Sets the exception.
- Parameters:
e
- an exception.
newChunk
public ExceptionChunk newChunk()
- Specified by:
newChunk
in class AbstractChunk<ExceptionChunk>
- See Also:
AbstractChunk.newChunk()
transfertStateTo
public void transfertStateTo(ExceptionChunk newInstance)
- Specified by:
transfertStateTo
in class AbstractChunk<ExceptionChunk>
- See Also:
AbstractChunk.transfertStateTo(AbstractChunk)
recycle
public void recycle()
- See Also:
Recyclable.recycle()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Throws:
IOException
- See Also:
Externalizable.writeExternal(java.io.ObjectOutput)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
- See Also:
Externalizable.readExternal(java.io.ObjectInput)
Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.