Gridarta Editor
net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException Class Reference

Thrown to indicate that a SmoothFace instance is not unique. More...

+ Inheritance diagram for net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException:
+ Collaboration diagram for net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException:

Public Member Functions

 DuplicateSmoothFaceException (@NotNull final String face, @NotNull final String newValue, @NotNull final String oldValue)
 Creates a new instance. More...
 
String getNewValue ()
 Returns the new value. More...
 
String getOldValue ()
 Returns the existing value. More...
 

Private Attributes

final String newValue
 The new value. More...
 
final String oldValue
 The existing value. More...
 

Static Private Attributes

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

Detailed Description

Thrown to indicate that a SmoothFace instance is not unique.

Author
Andreas Kirschbaum

Definition at line 28 of file DuplicateSmoothFaceException.java.

Constructor & Destructor Documentation

◆ DuplicateSmoothFaceException()

net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.DuplicateSmoothFaceException ( @NotNull final String  face,
@NotNull final String  newValue,
@NotNull final String  oldValue 
)

Creates a new instance.

Parameters
facethe duplicate smooth face
newValuethe new value
oldValuethe existing value

Definition at line 55 of file DuplicateSmoothFaceException.java.

References net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.newValue, and net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.oldValue.

Member Function Documentation

◆ getNewValue()

String net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.getNewValue ( )

Returns the new value.

Returns
the new value

Definition at line 75 of file DuplicateSmoothFaceException.java.

References net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.newValue.

Referenced by net.sf.gridarta.model.smoothface.SmoothFacesLoader.load().

+ Here is the caller graph for this function:

◆ getOldValue()

String net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.getOldValue ( )

Returns the existing value.

Returns
the existing value

Definition at line 66 of file DuplicateSmoothFaceException.java.

References net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.oldValue.

Referenced by net.sf.gridarta.model.smoothface.SmoothFacesLoader.load().

+ Here is the caller graph for this function:

Member Data Documentation

◆ newValue

final String net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.newValue
private

◆ oldValue

final String net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.oldValue
private

◆ serialVersionUID

final long net.sf.gridarta.model.smoothface.DuplicateSmoothFaceException.serialVersionUID = 1L
staticprivate

The serial version UID.

Definition at line 33 of file DuplicateSmoothFaceException.java.


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