public class LoadExceptionEvent<C>
extends <any>
Modifier and Type | Class and Description |
---|---|
static interface |
LoadExceptionEvent.HasLoadExceptionHandlers<C>
A loader that implements this interface is a public source of
LoadExceptionEvent events. |
static interface |
LoadExceptionEvent.LoadExceptionHandler<C>
Handler class for
LoadExceptionEvent events. |
Constructor and Description |
---|
LoadExceptionEvent(C loadConfig,
Throwable exception)
Creates a load exception event for the given load config and exception.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(LoadExceptionEvent.LoadExceptionHandler<C> handler) |
<any> |
getAssociatedType() |
Throwable |
getException()
Returns the load exception.
|
C |
getLoadConfig()
Returns the load config.
|
Loader<?,C> |
getSource() |
static <any> |
getType()
Gets the type associated with this event.
|
public static <any> getType()
public <any> getAssociatedType()
public Throwable getException()
public C getLoadConfig()
protected void dispatch(LoadExceptionEvent.LoadExceptionHandler<C> handler)
Copyright © 2018. All rights reserved.