Class InvalidaNameException

All Implemented Interfaces:
Serializable

public class InvalidaNameException extends JKException
This class represents exception thrown when an invalid name is encountered.

This exception is a subclass of JKException.

This class should be used to indicate situations where a name does not meet the expected criteria.

Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • InvalidaNameException

      public InvalidaNameException(String name)
      This method constructors an InvalidaNameException that contains the invalid name value.
      Parameters:
      name - Specifies the invalid name.
  • Method Details

    • getName

      public String getName()
      This method gets the invalid name value contained within this exception.
      Returns:
      the invalid name value.