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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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
getMarkupStream
public MarkupStream getMarkupStream()
- Returns:
- Returns the MarkupStream.
setMarkupStream
public void setMarkupStream(MarkupStream markupStream)
- Set the markup stream which caused the exception
- Parameters:
markupStream
-
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.