org.apache.wicket.util.string
Class ComponentStrings
java.lang.Object
org.apache.wicket.util.string.ComponentStrings
public class ComponentStrings
- extends Object
Method Summary |
static String |
toString(Component component,
Throwable location)
Creates a location stacktrace string representation for the component for reference when the
render check fails. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toString
public static String toString(Component component,
Throwable location)
- Creates a location stacktrace string representation for the component for reference when the
render check fails. This method filters out most of the unnecessary parts of the stack trace.
The message of the
location
is used as a verb in the rendered string. Use
"added", "constructed" or similar verbs as values.
- Parameters:
component
- the component that was constructed or added and failed to renderlocation
- the location where the component was created or added in the java code.
- Returns:
- a string giving the line precise location where the component was added or created.
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.