|
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...
Inheritance diagram for net.sf.gridarta.model.gameobject.NotInsideContainerException:
Collaboration diagram for net.sf.gridarta.model.gameobject.NotInsideContainerException:Public Member Functions | |
| GameObjectContainer<?, ?, ?> | getContainer () |
| Returns the Container that the GameObject was expected in. More... | |
| BaseObject<?, ?, ?, ?> | getItem () |
| Returns the GameObject that was not inside a container but should have been. More... | |
| NotInsideContainerException (@NotNull final GameObject<?, ?, ?> item) | |
| Create a NotInsideContainerException. More... | |
| NotInsideContainerException (@Nullable final GameObjectContainer<?, ?, ?> container, @NotNull final GameObject<?, ?, ?> item) | |
| Create a NotInsideContainerException. 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 | ) |
Create a NotInsideContainerException.
| 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 | ||
| ) |
Create a NotInsideContainerException.
| 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 GameObject 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.
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.
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.