Class PatternException

All Implemented Interfaces:
Serializable

public class PatternException extends SysException
Exception representing an exception during parsing of number pattern.

This class is only responsible for holding the reason and possible cause of the exception.

Since:
6.0
Author:
F. van der Meer
See Also:
  • Constructor Details

    • PatternException

      public PatternException(String pattern, String message, Throwable cause)
      Constructs a pattern exception with a message, the message text will go unmodified into the system exception message.
      Parameters:
      pattern - The pattern that failed parsing
      message - The message of the exception
      cause - The cause of this exception
    • PatternException

      public PatternException(String pattern, String message)
      Constructs a pattern exception with a message, the message text will go unmodified into the system exception message.
      Parameters:
      pattern - The pattern that failed parsing
      message - The message of the exception
    • PatternException

      public PatternException(String pattern, Throwable cause)
      Constructs a pattern exception with a cause, the message of the cause will be taken over in this exceptions' message.
      Parameters:
      pattern - The pattern that failed parsing
      cause - The cause of this exception
  • Method Details

    • getPattern

      public String getPattern()
      This method returns the pattern that failed parsing.
      Returns:
      The pattern that failed parsing.