Xalan-C++ API Reference 1.12.0
xalanc::URISupport::InvalidURIException Class Reference

Normalizes the string passed in, replacing \ with /. More...

#include <xalanc/PlatformSupport/URISupport.hpp>

Inheritance diagram for xalanc::URISupport::InvalidURIException:
xalanc::XSLException

Public Member Functions

 InvalidURIException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Construct an InvalidURIException.
 InvalidURIException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Construct an InvalidURIException.
virtual ~InvalidURIException ()
virtual const XalanDOMChar * getType () const
 Retrieve type of exception.
Public Member Functions inherited from xalanc::XSLException
 XSLException (const XalanDOMString &theMessage, MemoryManager &theManager, const Locator *theLocator)
 Constructor.
 XSLException (const XalanDOMString &theMessage, MemoryManager &theManager)
 Constructor.
 XSLException (const XSLException &other)
virtual ~XSLException ()
const XalanDOMString & getMessage () const
 Retrieve message for exception.
const XalanDOMString & getURI () const
 Get the URI for the associated document, if any.
XalanFileLoc getLineNumber () const
 Retrieve the line number.
XalanFileLoc getColumnNumber () const
 Retrieve the column number.
const MemoryManager & getMemoryManager () const
MemoryManager & getMemoryManager ()
XalanDOMString & defaultFormat (XalanDOMString &theBuffer) const

Additional Inherited Members

Static Public Member Functions inherited from xalanc::XSLException
static XalanDOMString & defaultFormat (const XalanDOMString &theMessage, const XalanDOMString &theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
static XalanDOMString & defaultFormat (const XalanDOMChar *theMessage, const XalanDOMChar *theURI, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, XalanDOMString &theBuffer)
static XalanDOMString & defaultFormat (const XalanDOMChar *theMessage, const XalanDOMString::size_type theMessageLength, const XalanDOMChar *theURI, const XalanDOMString::size_type theURILength, XalanFileLoc theLineNumber, XalanFileLoc theColumnNumber, const XalanDOMChar *theType, const XalanDOMString::size_type theTypeLength, XalanDOMString &theBuffer)
Protected Attributes inherited from xalanc::XSLException
MemoryManager & m_memoryManager

Detailed Description

Normalizes the string passed in, replacing \ with /.

Parameters
urlStringstring to normalize
Returns
a copy of the normalized URI

Definition at line 269 of file URISupport.hpp.

Constructor & Destructor Documentation

◆ InvalidURIException() [1/2]

xalanc::URISupport::InvalidURIException::InvalidURIException ( const XalanDOMString & theMessage,
MemoryManager & theManager,
const Locator * theLocator )

Construct an InvalidURIException.

Parameters
theMessagethe error message

◆ InvalidURIException() [2/2]

xalanc::URISupport::InvalidURIException::InvalidURIException ( const XalanDOMString & theMessage,
MemoryManager & theManager )

Construct an InvalidURIException.

Parameters
theMessagethe error message

◆ ~InvalidURIException()

virtual xalanc::URISupport::InvalidURIException::~InvalidURIException ( )
virtual

Member Function Documentation

◆ getType()

virtual const XalanDOMChar * xalanc::URISupport::InvalidURIException::getType ( ) const
virtual

Retrieve type of exception.

Returns
type of exception

Implements xalanc::XSLException.


The documentation for this class was generated from the following file: