Class TestForeignExceptionSerialization
java.lang.Object
org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization
Test that we correctly serialize exceptions from a remote source
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
void
Compare that a generic exception's stack trace has the same stack trace elements after serialization and deserializationvoid
Verify that we get back similar stack trace information before an after serialization.
-
Field Details
-
CLASS_RULE
-
srcName
- See Also:
-
-
Constructor Details
-
TestForeignExceptionSerialization
public TestForeignExceptionSerialization()
-
-
Method Details
-
testSimpleException
Verify that we get back similar stack trace information before an after serialization.- Throws:
IOException
-
testRemoteFromLocal
Compare that a generic exception's stack trace has the same stack trace elements after serialization and deserialization- Throws:
IOException
-
compareStackTraceElement
-