@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SerializedException extends Object
Constructor and Description |
---|
SerializedException() |
Modifier and Type | Method and Description |
---|---|
abstract Throwable |
deSerialize()
Deserialize the exception to a new Throwable.
|
abstract SerializedException |
getCause()
Get the cause of this exception or null if the cause is nonexistent or
unknown.
|
abstract String |
getMessage()
Get the detail message string of this exception.
|
abstract String |
getRemoteTrace()
Get the backtrace of this exception.
|
abstract void |
init(String message)
Constructs a new
SerializedException with the specified detail
message. |
abstract void |
init(String message,
Throwable cause)
Constructs a new
SerializedException with the specified detail
message and cause. |
abstract void |
init(Throwable cause)
Constructs a new
SerializedException with the specified cause. |
static SerializedException |
newInstance(Throwable e) |
String |
toString() |
@InterfaceAudience.Private @InterfaceStability.Unstable public static SerializedException newInstance(Throwable e)
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void init(String message, Throwable cause)
SerializedException
with the specified detail
message and cause.message
- exception detail message.cause
- cause of the exception.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void init(String message)
SerializedException
with the specified detail
message.message
- exception detail message.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void init(Throwable cause)
SerializedException
with the specified cause.cause
- cause of the exception.@InterfaceAudience.Private @InterfaceStability.Unstable public abstract String getMessage()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract String getRemoteTrace()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract SerializedException getCause()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract Throwable deSerialize()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.