Gridarta Editor
net.sf.gridarta.model.face.DuplicateFaceException Class Reference

Exception that's thrown in case a face name was not unique. More...

+ Inheritance diagram for net.sf.gridarta.model.face.DuplicateFaceException:
+ Collaboration diagram for net.sf.gridarta.model.face.DuplicateFaceException:

Public Member Functions

 DuplicateFaceException (final FaceObject duplicate, final FaceObject existing)
 Creates a DuplicateFaceException. More...
 
FaceObject getDuplicate ()
 Returns the duplicate that caused this exception. More...
 
FaceObject getExisting ()
 Returns the other duplicate that caused this exception. More...
 

Private Attributes

final FaceObject duplicate
 The FaceObject causing the problem. More...
 
final FaceObject existing
 The other FaceObject causing the problem. More...
 

Static Private Attributes

static final long serialVersionUID = 1L
 The serial version UID. More...
 

Detailed Description

Exception that's thrown in case a face name was not unique.

Author
Christian Hujer

Definition at line 26 of file DuplicateFaceException.java.

Constructor & Destructor Documentation

◆ DuplicateFaceException()

net.sf.gridarta.model.face.DuplicateFaceException.DuplicateFaceException ( final FaceObject  duplicate,
final FaceObject  existing 
)

Creates a DuplicateFaceException.

Parameters
duplicatethe duplicate face that's the cause
existingthe existing face

Definition at line 50 of file DuplicateFaceException.java.

References net.sf.gridarta.model.face.DuplicateFaceException.duplicate, net.sf.gridarta.model.face.DuplicateFaceException.existing, net.sf.gridarta.model.face.FaceObject.getFaceName(), and net.sf.gridarta.model.face.FaceObject.getOriginalFilename().

+ Here is the call graph for this function:

Member Function Documentation

◆ getDuplicate()

FaceObject net.sf.gridarta.model.face.DuplicateFaceException.getDuplicate ( )

Returns the duplicate that caused this exception.

Returns
duplicate

Definition at line 60 of file DuplicateFaceException.java.

References net.sf.gridarta.model.face.DuplicateFaceException.duplicate.

Referenced by net.sf.gridarta.model.resource.AbstractResourcesReader< G >.addPNGFace(), and net.sf.gridarta.model.face.DefaultFaceObjects.loadFacesCollection().

+ Here is the caller graph for this function:

◆ getExisting()

FaceObject net.sf.gridarta.model.face.DuplicateFaceException.getExisting ( )

Returns the other duplicate that caused this exception.

Returns
duplicate

Definition at line 68 of file DuplicateFaceException.java.

References net.sf.gridarta.model.face.DuplicateFaceException.existing.

Referenced by net.sf.gridarta.model.resource.AbstractResourcesReader< G >.addPNGFace().

+ Here is the caller graph for this function:

Member Data Documentation

◆ duplicate

final FaceObject net.sf.gridarta.model.face.DuplicateFaceException.duplicate
private

◆ existing

final FaceObject net.sf.gridarta.model.face.DuplicateFaceException.existing
private

◆ serialVersionUID

final long net.sf.gridarta.model.face.DuplicateFaceException.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 31 of file DuplicateFaceException.java.


The documentation for this class was generated from the following file: