public class DuplicateFaceException
extends java.lang.Exception
Constructor and Description |
---|
DuplicateFaceException(FaceObject duplicate,
FaceObject existing)
Creates a DuplicateFaceException.
|
Modifier and Type | Method and Description |
---|---|
FaceObject |
getDuplicate()
Returns the duplicate that caused this exception.
|
FaceObject |
getExisting()
Returns the other duplicate that caused this exception.
|
public DuplicateFaceException(FaceObject duplicate, FaceObject existing)
duplicate
- the duplicate face that's the causeexisting
- the existing facepublic FaceObject getDuplicate()
public FaceObject getExisting()