Package com.dbxml.db.core

Examples of com.dbxml.db.core.DBException


      try {
         dt = DTSMHelper.nodeToTable(node, col.getSymbols());
      }
      catch ( DTSMException e ) {
         throw new DBException(FaultCodes.COL_CANNOT_STORE, "Error storing object '" + key + "'", e);
      }

      col.setDocument(tx, key, dt);
   }
View Full Code Here


         DocumentTable dt = col.getDocument(tx, key);
         if ( dt != null )
            doc = DTSMHelper.tableToDocument(dt);
      }
      catch ( DTSMException e ) {
         throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Error retrieving object '" + key + "'", e);
      }

      if ( doc != null ) {
         Variant v = new Variant(doc);
         return v.getJAXBElement();
View Full Code Here

                  }
                  l.add(elem);
               }
            }
            catch ( DTSMException e ) {
               throw new DBException(FaultCodes.GEN_GENERAL_ERROR, "Can't convert DocumentTable", e);
            }
         }

         Document doc = DOMHelper.newDocument();
         Element rootElem = doc.createElement(Constants.MANIFEST);
View Full Code Here

      try {
         DocumentTable dt = DTSMHelper.nodeToTable(doc, col.getSymbols());
         col.setDocument(tx, key, dt);
      }
      catch ( DTSMException e ) {
         throw new DBException(FaultCodes.COL_CANNOT_STORE, "Error storing object '" + key + "'", e);
      }
   }
View Full Code Here

            return DTSMHelper.tableToDocument(dt);
         else
            return null;
      }
      catch ( DTSMException e ) {
         throw new DBException(FaultCodes.COL_CANNOT_RETRIEVE, "Error retrieving object '" + key + "'", e);
      }
   }
View Full Code Here

TOP

Related Classes of com.dbxml.db.core.DBException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.