Class DuplicateCharacterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
DuplicateCharacterException
- All Implemented Interfaces:
Serializable
Thrown when an application attempts to add a duplicate character (either
opening or closing).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a DuplicateCharacterException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateCharacterException
Constructs a DuplicateCharacterException with the specified detail message.- Parameters:
s- the detail message
-