org.apache.wicket.markup
Class MarkupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.wicket.WicketRuntimeException
org.apache.wicket.markup.MarkupException
- All Implemented Interfaces:
- Serializable
public final class MarkupException
- extends WicketRuntimeException
Runtime exception that is thrown when markup parsing fails.
- Author:
- Jonathan Locke
- See Also:
- Serialized Form
MarkupException
public MarkupException(String message)
- Constructor
- Parameters:
message
- The problem description
MarkupException
public MarkupException(IResourceStream resource,
String message)
- Parameters:
resource
- The markup resource where this exception occurredmessage
- The message
MarkupException
public MarkupException(IResourceStream resource,
String message,
Throwable cause)
- Parameters:
resource
- The markup where this exception occurredmessage
- The messagecause
- The causing exception
MarkupException
public MarkupException(MarkupStream markupStream,
String message)
- Parameters:
markupStream
- The markup stream where this exception occurredmessage
- The message
MarkupException
public MarkupException(MarkupStream markupStream,
String message,
Throwable cause)
- Parameters:
markupStream
- The markup stream where this exception occurredmessage
- The messagecause
- The causing exception
MarkupException
public MarkupException(Markup markup,
String message,
Throwable cause)
- Construct.
- Parameters:
markup
- message
- cause
-
getMarkupStream
public MarkupStream getMarkupStream()
- Returns:
- Returns the MarkupStream.
setMarkupStream
public void setMarkupStream(MarkupStream markupStream)
- Set the markup stream which caused the exception
- Parameters:
markupStream
-
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.