Class Integrity
- java.lang.Object
-
- com.github.bordertech.wcomponents.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, anIntegrityException
will be thrown, otherwise a warning message will be logged.- Since:
- 1.0.0
- Author:
- Martin Shevchenko
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
issue(WComponent comp, String message)
Raises an integrity issue.
-
-
-
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.
-
-