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:
- java.io.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MarkupException
public MarkupException(java.lang.String message)
- Constructor
- Parameters:
message
- The problem description
MarkupException
public MarkupException(IResourceStream resource,
java.lang.String message)
- Parameters:
resource
- The markup resource where this exception occurredmessage
- The message
MarkupException
public MarkupException(IResourceStream resource,
java.lang.String message,
java.lang.Throwable cause)
- Parameters:
resource
- The markup where this exception occurredmessage
- The messagecause
- The causing exception
MarkupException
public MarkupException(MarkupStream markupStream,
java.lang.String message)
- Parameters:
markupStream
- The markup stream where this exception occurredmessage
- The message
MarkupException
public MarkupException(MarkupStream markupStream,
java.lang.String message,
java.lang.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-2010 Apache Software Foundation. All Rights Reserved.