|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ten60.netkernel.urii.aspect.NetKernelExceptionAspect
Implementation of an aspect that implements IAspectNetKernelException and IRepresentationBinaryStream
Method Summary | |
static IURRepresentation |
create(NetKernelError aError)
Create a new representation to hold and exception |
static IURRepresentation |
create(NetKernelException aException)
Create a new representation to hold and exception |
String |
getEncoding()
|
NetKernelError |
getError()
Return the error |
NetKernelException |
getException()
Return the exception |
IXMLException |
getXMLException()
Return the IXMLException we are holding |
void |
write(OutputStream aStream)
Write the exception as XML to the outputstream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public NetKernelException getException()
getException
in interface IAspectNetKernelException
public NetKernelError getError()
getError
in interface IAspectNetKernelException
public IXMLException getXMLException()
IAspectNetKernelException
getXMLException
in interface IAspectNetKernelException
public void write(OutputStream aStream) throws IOException
write
in interface IAspectBinaryStream
aStream
- the output stream
IOException
- thrown if we fail to writepublic static IURRepresentation create(NetKernelException aException)
public static IURRepresentation create(NetKernelError aError)
public String getEncoding()
getEncoding
in interface IAspectBinaryStream
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |