public class ExtensionLoadingException
extends java.lang.RuntimeException
ServiceExtensionLoader
when something wrong has happened that we can not
recover from.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ExtensionLoadingException(java.lang.String message) |
ExtensionLoadingException(java.lang.String message,
java.lang.Throwable cause) |
private static final long serialVersionUID
public ExtensionLoadingException(java.lang.String message)
message
- user-friendly description of why message is thrownpublic ExtensionLoadingException(java.lang.String message, java.lang.Throwable cause)
message
- user-friendly description of why message is throwncause
- Underlying cause, add this when using Exception Translation / rethrowing