You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/11/15 16:43:20 UTC

cvs commit: xml-xalan/c/src/XalanSourceTree XalanSourceTreeDocument.cpp

dbertoni    01/11/15 07:43:20

  Modified:    c/src/XalanSourceTree XalanSourceTreeDocument.cpp
  Log:
  Throw more appropriate exceptions.
  
  Revision  Changes    Path
  1.24      +10 -10    xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp
  
  Index: XalanSourceTreeDocument.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanSourceTree/XalanSourceTreeDocument.cpp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- XalanSourceTreeDocument.cpp	2001/11/01 15:51:14	1.23
  +++ XalanSourceTreeDocument.cpp	2001/11/15 15:43:20	1.24
  @@ -360,7 +360,7 @@
   XalanElement*
   XalanSourceTreeDocument::createElement(const XalanDOMString&	/* tagName */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -371,7 +371,7 @@
   XalanDocumentFragment*
   XalanSourceTreeDocument::createDocumentFragment()
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -382,7 +382,7 @@
   XalanText*
   XalanSourceTreeDocument::createTextNode(const XalanDOMString&	/* data */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -393,7 +393,7 @@
   XalanComment*
   XalanSourceTreeDocument::createComment(const XalanDOMString&	/* data */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -404,7 +404,7 @@
   XalanCDATASection*
   XalanSourceTreeDocument::createCDATASection(const XalanDOMString&	/* data */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -417,7 +417,7 @@
   			const XalanDOMString&	/* target */,
   			const XalanDOMString&	/* data */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -428,7 +428,7 @@
   XalanAttr*
   XalanSourceTreeDocument::createAttribute(const XalanDOMString&	/* name */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -439,7 +439,7 @@
   XalanEntityReference*
   XalanSourceTreeDocument::createEntityReference(const XalanDOMString&	/* name */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	// Dummy return value...
   	return 0;
  @@ -498,7 +498,7 @@
   			const XalanDOMString&	/* namespaceURI */,
   			const XalanDOMString&	/* qualifiedName */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	return 0;
   }
  @@ -510,7 +510,7 @@
   			const XalanDOMString&	/* namespaceURI */,
   			const XalanDOMString&	/* qualifiedName */)
   {
  -	throw XalanDOMException(XalanDOMException::NO_MODIFICATION_ALLOWED_ERR);
  +	throw XalanDOMException(XalanDOMException::NOT_SUPPORTED_ERR);
   
   	return 0;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org