
public class ExceptionProxy extends Object implements Externalizable
| Constructor and Description |
|---|
ExceptionProxy() |
ExceptionProxy(Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
createException()
Constructs an instance of the proxied exception based on the class name,
message, stack trace and if applicable, the cause.
|
static ExceptionProxy |
createForException(Throwable throwable)
Static method to create an exception proxy for the passed in
Throwable class. |
ArquillianProxyException |
createProxyException(String reason) |
Throwable |
getCause()
Returns the cause of the exception represented by this proxy
|
boolean |
hasException()
Indicates whether this proxy wraps an exception
|
void |
readExternal(ObjectInput in)
Custom Serialization logic.
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public ExceptionProxy()
public ExceptionProxy(Throwable throwable)
public boolean hasException()
public Throwable createException()
Throwable instancepublic ArquillianProxyException createProxyException(String reason)
public static ExceptionProxy createForException(Throwable throwable)
Throwable class. If null is passed in, null is returned as the
exception proxythrowable - Exception to proxypublic Throwable getCause()
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.