Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5536

Error message without parmeters filled.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 6.14.0
    • 7.0.0-M1, 6.15.0
    • wicket
    • All

    Description

      Method throws exception without parameters filled.

      Method :
      public static <T extends Enum<T>> T toEnum(final CharSequence value, final Class<T> enumClass)

      Class:
      org.apache.wicket.util.string.Strings

      Exception message:
      String.format("Cannot convert '{}' to enum constant of type '{}'.", value, enumClass)

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            pp87 Pawel P
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: