Class UnknownNameException

All Implemented Interfaces:
Serializable

public class UnknownNameException extends IllegalArgumentException
Thrown when an operation cannot complete because a given name is unrecognized. The unrecognized name may be a GenericName, an Identifier, a String used as a name or identifier, or any other objects with similar purpose.

Note: in the particular case of objects created from a Factory, the exception for unrecognized identifiers is rather NoSuchIdentifierException. This UnknownNameException differs in being an unchecked exception.

Since:
0.5
Version:
1.3
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • UnknownNameException

      public UnknownNameException()
      Constructs a new exception with no message.
    • UnknownNameException

      public UnknownNameException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message, or null if none.
    • UnknownNameException

      public UnknownNameException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message, or null if none.
      cause - the cause, or null if none.