## net.sf.saxon.om
Class NamespaceException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              net.sf.saxon.om.NamespaceException

All Implemented Interfaces:
  Serializable

    public class NamespaceException

extends Exception

A NamespaceException represents an error condition whereby a QName (for example a variable name or template name) uses a namespace prefix that is not declared

See Also:
  Serialized Form

Constructor Summary
`NamespaceException(String prefix)`

Method Summary
`String` `getMessage()`
`String` `getPrefix()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, 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

### NamespaceException

    public NamespaceException(String prefix)

Method Detail

### getMessage

    public String getMessage()

  Overrides:
    `getMessage` in class `Throwable`

### getPrefix

    public String getPrefix()

Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.