org.apache.cocoon.sitemap
Class PatternException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.avalon.framework.CascadingException
              extended byorg.apache.cocoon.sitemap.PatternException
All Implemented Interfaces:
CascadingThrowable, Serializable

public class PatternException
extends CascadingException

This exception is thrown by a URIMatcher or by a URITranslator when there's something wrong with the matching or translation patterns.

Version:
$Id: PatternException.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also:
Serialized Form

Constructor Summary
PatternException(Exception ex)
          Creates a new PatternException instance.
PatternException(String message)
          Construct a new PatternException instance.
PatternException(String message, Throwable t)
          Construct a new PatternException that references a parent Exception.
 
Methods inherited from class org.apache.avalon.framework.CascadingException
getCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

PatternException

public PatternException(String message)
Construct a new PatternException instance.


PatternException

public PatternException(Exception ex)
Creates a new PatternException instance.

Parameters:
ex - an Exception value

PatternException

public PatternException(String message,
                        Throwable t)
Construct a new PatternException that references a parent Exception.



Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.