org.apache.wicket.devutils
Class DevelopmentUtilitiesNotEnabledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.wicket.WicketRuntimeException
                  extended by org.apache.wicket.devutils.DevelopmentUtilitiesNotEnabledException
All Implemented Interfaces:
Serializable

public class DevelopmentUtilitiesNotEnabledException
extends WicketRuntimeException

Just an exception that can be thrown if aa 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
DevelopmentUtilitiesNotEnabledException()
           
 
Method Summary
static void check()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DevelopmentUtilitiesNotEnabledException

public DevelopmentUtilitiesNotEnabledException()
Method Detail

check

public static void check()


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.