@Private
@Unstable
public abstract class SerializedException
extends java.lang.Object
| Constructor | Description |
|---|---|
SerializedException() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.lang.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 java.lang.String |
getMessage() |
Get the detail message string of this exception.
|
abstract java.lang.String |
getRemoteTrace() |
Get the backtrace of this exception.
|
abstract void |
init(java.lang.String message) |
Constructs a new
SerializedException with the specified detail
message. |
abstract void |
init(java.lang.String message,
java.lang.Throwable cause) |
Constructs a new
SerializedException with the specified detail
message and cause. |
abstract void |
init(java.lang.Throwable cause) |
Constructs a new
SerializedException with the specified cause. |
static SerializedException |
newInstance(java.lang.Throwable e) |
|
java.lang.String |
toString() |
@Private @Unstable public static SerializedException newInstance(java.lang.Throwable e)
@Private
@Unstable
public abstract void init(java.lang.String message,
java.lang.Throwable cause)
SerializedException with the specified detail
message and cause.message - exception detail message.cause - cause of the exception.@Private @Unstable public abstract void init(java.lang.String message)
SerializedException with the specified detail
message.message - exception detail message.@Private @Unstable public abstract void init(java.lang.Throwable cause)
SerializedException with the specified cause.cause - cause of the exception.@Private @Unstable public abstract java.lang.String getMessage()
@Private @Unstable public abstract java.lang.String getRemoteTrace()
@Private @Unstable public abstract SerializedException getCause()
@Private @Unstable public abstract java.lang.Throwable deSerialize()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.