|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.connect.ErrorLeaf
public class ErrorLeaf
Dummy Leaf implmentation which describes an error condition.
| Constructor Summary | |
|---|---|
ErrorLeaf(Branch parent,
Throwable err)
Constructor. |
|
| Method Summary | |
|---|---|
DataSource |
getDataSource()
Returns a data source (replayable input stream) containing the data content of this leaf. |
String |
getName()
Returns the name of this node. |
OutputStream |
getOutputStream()
Returns an output stream from this leaf. |
Branch |
getParent()
Returns the parent branch of this node. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorLeaf(Branch parent,
Throwable err)
parent - leaf parenterr - the throwable which this leaf reprsents| Method Detail |
|---|
public Branch getParent()
Node
getParent in interface Nodepublic String getName()
Node
getName in interface Node
public DataSource getDataSource()
throws IOException
Leaf
getDataSource in interface LeafIOException - if some other error occurs
public OutputStream getOutputStream()
throws IOException
Leaf
getOutputStream in interface LeafIOException - if there's some errorpublic String toString()
toString in class Object
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||