public class TestForeignExceptionSerialization extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
srcName |
Constructor and Description |
---|
TestForeignExceptionSerialization() |
Modifier and Type | Method and Description |
---|---|
private boolean |
compareStackTraceElement(StackTraceElement obj1,
StackTraceElement obj2) |
void |
testRemoteFromLocal()
Compare that a generic exception's stack trace has the same stack trace elements after
serialization and deserialization
|
void |
testSimpleException()
Verify that we get back similar stack trace information before an after serialization.
|
public static final HBaseClassTestRule CLASS_RULE
private static final String srcName
public TestForeignExceptionSerialization()
public void testSimpleException() throws IOException
IOException
public void testRemoteFromLocal() throws IOException
IOException
private boolean compareStackTraceElement(StackTraceElement obj1, StackTraceElement obj2)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.