public class TestUtil
extends java.lang.Object
| Constructor and Description |
|---|
TestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
handleException(EPPSession aSession,
java.lang.Exception aException)
Handle an
Exception, which can be either a server
generated error or a general exception. |
public static void handleException(EPPSession aSession, java.lang.Exception aException) throws InvalidateSessionException
Exception, which can be either a server
generated error or a general exception. If the exception was caused by
a server error, "Server Error :<Response XML>" will be specified.
If the exception was caused by a general algorithm error, "General
Error :<Exception Description>" will be specified.aSession - Session being usedaException - Exception thrown during testInvalidateSessionException - The session should be invalidated by calling methodCopyright © VeriSign Inc. All Rights Reserved.