Class InvalidString

All Implemented Interfaces:
Serializable

public class InvalidString extends RuntimeException
Thrown when a configuration string fails validation against expected format.
See Also:
  • Constructor Details

    • InvalidString

      public InvalidString(String message)
      Creates a new InvalidString with the provided message.
      Parameters:
      message - details about the invalid string
  • Method Details

    • Throw

      public static String Throw(String message)
      Convenience helper that always throws this exception. Declared return type enables fluent usage inside expressions.
      Parameters:
      message - details about the invalid string
      Returns:
      never returns; always throws InvalidString
      Throws:
      InvalidString - always