Class NameFormatException.FilteredCase

All Implemented Interfaces:
Serializable
Enclosing class:
NameFormatException

public static class NameFormatException.FilteredCase extends NameFormatException
Exception signaling that the given input name should not be converted.

When a NameConverter throws this exception, name converters with lower priority will not try to convert that name, so the conversion is guaranteed to fail. This differs from throwing NameFormatException or returning null, in which case other converters would still be tried.

See Also:
  • Constructor Details

    • FilteredCase

      public FilteredCase(String message)
    • FilteredCase

      public FilteredCase(String message, Throwable t)