Package org.apache.ws.resource.properties.faults

Examples of org.apache.ws.resource.properties.faults.QueryEvaluationErrorFaultException


        {
            throw new UnknownQueryExpressionDialectFaultException(NAMESPACE_SET, uqede.getDialect() );
        }
        catch ( QueryEvaluationErrorException qeee )
        {
            throw new QueryEvaluationErrorFaultException(NAMESPACE_SET, qeee.getMessage() );
        }
        catch ( InvalidQueryExpressionException iqee )
        {
            throw new InvalidQueryExpressionFaultException(NAMESPACE_SET, queryExpr );
        }
View Full Code Here


        {
            throw new UnknownQueryExpressionDialectFaultException( NAMESPACE_SET, uqede.getDialect() );
        }
        catch ( QueryEvaluationErrorException qeee )
        {
            throw new QueryEvaluationErrorFaultException(NAMESPACE_SET,  qeee.getMessage() );
        }
        catch ( InvalidQueryExpressionException iqee )
        {
            throw new InvalidQueryExpressionFaultException(NAMESPACE_SET,  queryExpr );
        }
View Full Code Here

      {
         return propsDocXBean.selectPath( xpathExpr.getValue(  ) );
      }
      catch ( RuntimeException re )
      {
         throw new QueryEvaluationErrorFaultException( MSG.getMessage( Keys.QUERY_FAILED, xpathExpr.getValue(  ),re.getLocalizedMessage(  ) ));
      }
   }
View Full Code Here

                                  xpathExpr.getValue(  ),
                                  nsContextElem );
      }
      catch ( Exception e )
      {
         throw new QueryEvaluationErrorFaultException( MSG.getMessage( Keys.XPATH_FAILED, xpathExpr.getValue(  ),
                                                                       e.getLocalizedMessage(  )));
      }

      return normalizeResult( xResult );
   }
View Full Code Here

        {
            throw new UnknownQueryExpressionDialectFaultException( uqede.getDialect() );
        }
        catch ( QueryEvaluationErrorException qeee )
        {
            throw new QueryEvaluationErrorFaultException( qeee.getMessage() );
        }
        catch ( InvalidQueryExpressionException iqee )
        {
            throw new InvalidQueryExpressionFaultException( queryExpr );
        }
View Full Code Here

        {
            throw new UnknownQueryExpressionDialectFaultException( NAMESPACE_SET, uqede.getDialect() );
        }
        catch ( QueryEvaluationErrorException qeee )
        {
            throw new QueryEvaluationErrorFaultException(NAMESPACE_SET,  qeee.getMessage() );
        }
        catch ( InvalidQueryExpressionException iqee )
        {
            throw new InvalidQueryExpressionFaultException(NAMESPACE_SET,  queryExpr );
        }
View Full Code Here

        {
            throw new UnknownQueryExpressionDialectFaultException(NAMESPACE_SET, uqede.getDialect() );
        }
        catch ( QueryEvaluationErrorException qeee )
        {
            throw new QueryEvaluationErrorFaultException(NAMESPACE_SET, qeee.getMessage() );
        }
        catch ( InvalidQueryExpressionException iqee )
        {
            throw new InvalidQueryExpressionFaultException(NAMESPACE_SET, queryExpr );
        }
View Full Code Here

      {
         impl_class = Class.forName( impl_classname );
      }
      catch ( ClassNotFoundException cnfe )
      {
         throw new QueryEvaluationErrorFaultException( "Query implementation class " + impl_classname
                                                       + " not found." );
      }

      try
      {
         return ( (Query) impl_class.newInstance(  ) );
      }
      catch ( Exception e )
      {
         e.printStackTrace(  );
         throw new QueryEvaluationErrorFaultException( "Failed to instantiate query implementation class "
                                                       + impl_classname + "." );
      }
   }
View Full Code Here

      {
         result_xml_beans = props_doc_xml_bean.selectPath( expr_string, query_opts );
      }
      catch ( XmlRuntimeException xre )
      {
         throw new QueryEvaluationErrorFaultException( xre.getLocalizedMessage(  ) );
      }
      catch ( UnsupportedOperationException uoe )
      {
         throw new InvalidQueryExpressionFaultException( uoe.getLocalizedMessage(  ) );
      }
View Full Code Here

      {
         return xpath.execute( xpathSupport, ctxtNode, prefixResolver );
      }
      catch ( Exception e )
      {
         throw new QueryEvaluationErrorFaultException( "Query failed: " + expr_string + " ("
                                                       + e.getLocalizedMessage(  ) + ")" );
      }
   }
View Full Code Here

TOP

Related Classes of org.apache.ws.resource.properties.faults.QueryEvaluationErrorFaultException

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.