Arquillian Test SPI 1.0.0.CR7

Serialized Form


Package org.jboss.arquillian.test.spi

Class org.jboss.arquillian.test.spi.ArquillianProxyException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class org.jboss.arquillian.test.spi.ExceptionProxy extends Object implements Serializable

serialVersionUID: 2321010311438950147L

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Custom Serialization logic. If possible, we try to keep the original Exception form the Container side. If we can't load the Exception on the client side, return a ArquillianProxyException that keeps the original stack trace etc. We can't use in.readObject() on the Throwable cause, because if a ClassNotFoundException is thrown, the stream is marked with the exception and that stream is the same stream that is deserializing us, so we will fail outside of our control. Store the Throwable cause as a serialized byte array instead, so we can deserialize it outside of our own stream.

Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class org.jboss.arquillian.test.spi.TestResult extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

status

TestResult.Status status

exceptionProxy

ExceptionProxy exceptionProxy

start

long start

end

long end


Arquillian Test SPI 1.0.0.CR7

Copyright © 2011 JBoss by Red Hat. All Rights Reserved.