|
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
public class 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 |
java.lang.String |
getEncoding()
|
NetKernelError |
getError()
Return the error |
NetKernelException |
getException()
Return the exception |
IXMLException |
getXMLException()
Return the IXMLException we are holding |
void |
write(java.io.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 IAspectNetKernelExceptionpublic NetKernelError getError()
getError in interface IAspectNetKernelExceptionpublic IXMLException getXMLException()
IAspectNetKernelException
getXMLException in interface IAspectNetKernelException
public void write(java.io.OutputStream aStream)
throws java.io.IOException
write in interface IAspectBinaryStreamaStream - the output stream
java.io.IOException - thrown if we fail to writepublic static IURRepresentation create(NetKernelException aException)
public static IURRepresentation create(NetKernelError aError)
public java.lang.String getEncoding()
getEncoding in interface IAspectBinaryStream
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||