Package org.apache.wicket.devutils
Class DevelopmentUtilitiesNotEnabledException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.wicket.WicketRuntimeException
-
- org.apache.wicket.devutils.DevelopmentUtilitiesNotEnabledException
-
- All Implemented Interfaces:
Serializable
public class DevelopmentUtilitiesNotEnabledException extends WicketRuntimeException
Just an exception that can be thrown if a development utility is invoked, constructed, etc, and the setting in the application is not enabled. Includes a static method that also does this check so that it is not carbon copied throughout the code. If you see this error in your application, you need to call: Application.get().getDebugSettings().setDevelopmentUtilitiesEnabled(true)- Author:
- Jeremy Thomerson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DevelopmentUtilitiesNotEnabledException()
Construct.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
check()
Verifies that development utilities are enabled.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DevelopmentUtilitiesNotEnabledException
public DevelopmentUtilitiesNotEnabledException()
Construct.
-
-
Method Detail
-
check
public static void check()
Verifies that development utilities are enabled.
-
-