Examples of BaseFaultException


Examples of org.apache.ws.resource.faults.BaseFaultException

         subscriptionHome = (SubscriptionHome) new InitialContext(  ).lookup( SubscriptionHome.HOME_LOCATION );
      }
      catch ( NamingException ne )
      {
         LOG.error( "Subscribe failed due to internal error: " + ne );
         throw new BaseFaultException( NAMESPACE_SET, "Subscribe failed due to internal server error." );
      }

      Subscription subscription = null;
      try
      {
View Full Code Here

Examples of org.apache.ws.resource.faults.BaseFaultException

         throw new TopicPathDialectUnknownFaultException( NAMESPACE_SET,
                                                          tpdue.getLocalizedMessage(  ) );
      }
      catch ( TopicExpressionException tee )
      {
         throw new BaseFaultException( NAMESPACE_SET,
                                       tee.getLocalizedMessage(  ) );
      }
   }
View Full Code Here

Examples of org.apache.ws.resource.faults.BaseFaultException

      }
      catch ( Exception e )
      {
         String localizedMessage = MSG.getMessage( Keys.FAILED_TO_GET_PROPERTY, propQName );
         LOG.debug( localizedMessage, e );
         throw new BaseFaultException( SoapConstants.FAULT_SERVER, localizedMessage );
      }

      SOAPElement[] propElems = XmlBeansUtils.toSOAPElementArray( propXBeans );
      LOG.debug( MSG.getMessage( CommonKeys.EXITING_METHOD, "getResourceProperty", propQName ) );
      return propElems;
View Full Code Here

Examples of org.apache.ws.resource.faults.BaseFaultException

                            SubscriptionHome.HOME_LOCATION );
        }
        catch ( NamingException ne )
        {
            LOG.error( "Subscribe failed due to internal error: " + ne );
            throw new BaseFaultException( NAMESPACE_SET, "Subscribe failed due to internal server error." );
        }
        Subscription subscription = null;
        try
        {
            subscription = subscriptionHome.create( SubscriptionResource.class,
View Full Code Here

Examples of org.apache.ws.resource.faults.BaseFaultException

            throw new TopicPathDialectUnknownFaultException( NAMESPACE_SET,
                    tpdue.getLocalizedMessage() );
        }
        catch ( TopicExpressionException tee )
        {
            throw new BaseFaultException( NAMESPACE_SET, tee.getLocalizedMessage() );
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.