![]() |
Gridarta Editor
|
This exception is thrown in case a method of a GameObject without a container or the wrong container was invoked when a GameObject requires a container. More...
Public Member Functions | |
GameObjectContainer<?, ?, ?> | getContainer () |
Returns the container that the GameObject was expected in. More... | |
BaseObject<?, ?, ?, ?> | getItem () |
Returns the game object that was not inside a container but should have been. More... | |
NotInsideContainerException (@NotNull final GameObject<?, ?, ?> item) | |
Creates a new instance. More... | |
NotInsideContainerException (@Nullable final GameObjectContainer<?, ?, ?> container, @NotNull final GameObject<?, ?, ?> item) | |
Creates a new instance. More... | |
Private Attributes | |
final GameObjectContainer<?, ?, ?> | container |
The expected container if != null or null if expected to be in any container. More... | |
final BaseObject<?, ?, ?, ?> | item |
The GameObject that was not inside a / the container but should have been. More... | |
Static Private Attributes | |
static final long | serialVersionUID = 1L |
The serial version UID. More... | |
This exception is thrown in case a method of a GameObject without a container or the wrong container was invoked when a GameObject requires a container.
Definition at line 34 of file NotInsideContainerException.java.
net.sf.gridarta.model.gameobject.NotInsideContainerException.NotInsideContainerException | ( | @NotNull final GameObject<?, ?, ?> | item | ) |
Creates a new instance.
item | GameObject that was not inside a container but should have been. |
Definition at line 62 of file NotInsideContainerException.java.
References net.sf.gridarta.model.gameobject.NotInsideContainerException.item.
net.sf.gridarta.model.gameobject.NotInsideContainerException.NotInsideContainerException | ( | @Nullable final GameObjectContainer<?, ?, ?> | container, |
@NotNull final GameObject<?, ?, ?> | item | ||
) |
Creates a new instance.
container | Container that was queried or null
|
item | GameObject that was not inside a container but should have been. |
Definition at line 73 of file NotInsideContainerException.java.
References net.sf.gridarta.model.gameobject.NotInsideContainerException.container, and net.sf.gridarta.model.gameobject.NotInsideContainerException.item.
GameObjectContainer<?, ?, ?> net.sf.gridarta.model.gameobject.NotInsideContainerException.getContainer | ( | ) |
Returns the container that the GameObject was expected in.
Definition at line 96 of file NotInsideContainerException.java.
References net.sf.gridarta.model.gameobject.NotInsideContainerException.container.
BaseObject<?, ?, ?, ?> net.sf.gridarta.model.gameobject.NotInsideContainerException.getItem | ( | ) |
Returns the game object that was not inside a container but should have been.
Definition at line 86 of file NotInsideContainerException.java.
References net.sf.gridarta.model.gameobject.NotInsideContainerException.item.
|
private |
The expected container if != null or null if expected to be in any container.
@serial
Definition at line 47 of file NotInsideContainerException.java.
Referenced by net.sf.gridarta.model.gameobject.NotInsideContainerException.getContainer(), and net.sf.gridarta.model.gameobject.NotInsideContainerException.NotInsideContainerException().
|
private |
The GameObject that was not inside a / the container but should have been.
@serial
Definition at line 55 of file NotInsideContainerException.java.
Referenced by net.sf.gridarta.model.gameobject.NotInsideContainerException.getItem(), and net.sf.gridarta.model.gameobject.NotInsideContainerException.NotInsideContainerException().
|
staticprivate |
The serial version UID.
Definition at line 39 of file NotInsideContainerException.java.