Package io.roastedroot.proxywasm
Class StartException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.roastedroot.proxywasm.StartException
-
- All Implemented Interfaces:
Serializable
public class StartException extends Exception
Exception thrown when an error occurs during the initialization or startup phase of a Proxy-WASM plugin.This typically happens during the execution of the
PluginFactory.Builder.build()method, encompassing issues such as WASM module instantiation failures, errors within the WASM_startfunction, or failures during the initialproxy_on_vm_startorproxy_on_configurecalls within the plugin.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartException(String message)Constructs a new StartException with the specified detail message.StartException(String message, Throwable cause)Constructs a new StartException with the specified detail message and cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
StartException
public StartException(String message)
Constructs a new StartException with the specified detail message.- Parameters:
message- the detail message.
-
StartException
public StartException(String message, Throwable cause)
Constructs a new StartException with the specified detail message and cause.- Parameters:
message- the detail message.cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)
-
-