Package org.apache.wicket

Examples of org.apache.wicket.WicketRuntimeException


          servletRequest.setCharacterEncoding(requestEncoding);
        }
      }
      catch (UnsupportedEncodingException e)
      {
        throw new WicketRuntimeException(e);
      }
    }

    if (hasFilterFactoryManager())
    {
View Full Code Here


    Args.notNull(container, "container");

    Page page = container.getPage();
    if (page == null)
    {
      throw new WicketRuntimeException("Component not attached to Page. Component: " +
        container.toString());
    }


    final boolean rtn[] = new boolean[] { true };
View Full Code Here

          {
            autolinking = Strings.isEmpty(autolink) || Strings.isTrue(autolink);
          }
          catch (StringValueConversionException e)
          {
            throw new WicketRuntimeException("Invalid autolink attribute value \"" +
              autolink + "\"");
          }
        }
        else if (tag.isClose())
        {
View Full Code Here

      parent = parent.getParent();
    }

    if (parent == null)
    {
      throw new WicketRuntimeException(
        "Unable to find parent component which is not a transparent resolver");
    }
    return parent;
  }
View Full Code Here

   */
  private void checkChildComponent(final Component controller)
  {
    if (controller == null)
    {
      throw new WicketRuntimeException("Could not find child with id: " + childId +
        " in the wicket:enclosure");
    }
    else if (controller == this)
    {
      throw new WicketRuntimeException(
        "Programming error: childComponent == enclose component; endless loop");
    }
  }
View Full Code Here

        httpServletResponse.sendError(sc, msg);
      }
    }
    catch (IOException e)
    {
      throw new WicketRuntimeException(e);
    }
  }
View Full Code Here

        httpServletResponse.sendRedirect(url);
      }
    }
    catch (IOException e)
    {
      throw new WicketRuntimeException(e);
    }
  }
View Full Code Here

              }
            });

          if (checkbox == null)
          {
            throw new WicketRuntimeException(
              "submitted http post value [" +
                Strings.join(",", values) +
                "] for CheckGroup component [" +
                getPath() +
                "] contains an illegal value [" +
View Full Code Here

          {
            value = item.getString(encoding);
          }
          catch (UnsupportedEncodingException e)
          {
            throw new WicketRuntimeException(e);
          }
        }
        else
        {
          value = item.getString();
View Full Code Here

      {
        fileStoreFolder = File.createTempFile("file-prefix", null).getParentFile();
      }
      catch (IOException e)
      {
        throw new WicketRuntimeException(e);
      }
    }
    return fileStoreFolder;
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.WicketRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.