org.xwiki.velocity
Class XWikiVelocityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.xwiki.velocity.XWikiVelocityException
All Implemented Interfaces:
Serializable

public class XWikiVelocityException
extends Exception

Any exception raised in the XWiki Velocity component must raise an exception of this type.

Version:
$Id$
See Also:
Serialized Form

Constructor Summary
XWikiVelocityException(String message)
          Constructs a new exception with the specified detail message.
XWikiVelocityException(String message, Throwable throwable)
          Constructs a new exception with the specified detail message and cause.
 
Method Summary
 
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
 

Constructor Detail

XWikiVelocityException

public XWikiVelocityException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the exception message
See Also:
Exception.Exception(String)

XWikiVelocityException

public XWikiVelocityException(String message,
                              Throwable throwable)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the exception message
throwable - the original exception to wrap
See Also:
Exception.Exception(String, Throwable)


Copyright © 2004-2011 XWiki. All Rights Reserved.