Class Integrity


  • public final class Integrity
    extends Object

    A convenience class to raise integrity issues. An integrity issue is usually issued on misconfiguration of a WComponent.

    If the sfp.web.integrity.terminate.mode parameter is set, an IntegrityException will be thrown, otherwise a warning message will be logged.

    Since:
    1.0.0
    Author:
    Martin Shevchenko
    • Method Detail

      • issue

        public static void issue​(WComponent comp,
                                 String message)
        Raises an integrity issue.
        Parameters:
        comp - the component to issue the exception for.
        message - the integrity message to issue.