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

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


      {
         insertPropertyCallback( prop, propElemsToBeInserted );
      }
      catch ( RuntimeException re )
      {
         throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                   re.toString(  ) );
      }

      Object[] oldValue = getValue( prop );
      for ( int i = 0; i < propElemsToBeInserted.length; i++ )
View Full Code Here


      {
         updatePropertyCallback( prop, newPropElems );
      }
      catch ( RuntimeException re )
      {
         throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                   re.toString(  ) );
      }

      Object[] oldValue = getValue( prop );
View Full Code Here

         }
         catch ( Exception e )
         {
            LOG.debug( MSG.getMessage( Keys.ERROR_DURING_DELETE_CALLBACK, setResourcePropertyCallback ),
                       e );
            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                      MSG.getMessage( Keys.ERROR_DURING_DELETE ) );
         }
      }
   }
View Full Code Here

         }
         catch ( Exception e )
         {
            LOG.debug( MSG.getMessage( Keys.ERROR_DURING_INSERT_CALLBACK, setResourcePropertyCallback ),
                       e );
            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                      MSG.getMessage( Keys.ERROR_DURING_INSERT ) );
         }
      }
   }
View Full Code Here

         }
         catch ( Exception e )
         {
            LOG.debug( MSG.getMessage( Keys.ERROR_DURING_UPDATE_CALLBACK, setResourcePropertyCallback ),
                       e );
            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                      MSG.getMessage( Keys.ERROR_DURING_UPDATE ) );
         }
      }
   }
View Full Code Here

         {
            insertResourceProperty( propElemsToBeInserted );
         }
         catch ( InsertResourcePropertyRequestFailedFaultException fault )
         {
            throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet(  ),
                                                                      fault.getFaultString(  ) );
         }
         catch ( InvalidInsertResourcePropertiesRequestContentFaultException fault )
         {
            throw new InvalidSetResourcePropertiesRequestContentFaultException( getNamespaceSet(  ),
                                                                                fault.getFaultString(  ) );
         }
      }

      DeleteType[] deleteElems = requestElem.getDeleteArray(  );
      for ( int i = 0; i < deleteElems.length; i++ )
      {
         try
         {
            deleteResourceProperty( deleteElems[i].getResourceProperty(  ) );
         }
         catch ( DeleteResourcePropertyRequestFailedFaultException fault )
         {
            throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet(  ),
                                                                      fault.getFaultString(  ) );
         }
      }

      UpdateType[] updateElems = requestElem.getUpdateArray(  );
      for ( int i = 0; i < updateElems.length; i++ )
      {
         XmlObject[] newPropElems = XmlBeanUtils.getChildElements( updateElems[i] );
         try
         {
            updateResourceProperty( newPropElems );
         }
         catch ( UpdateResourcePropertyRequestFailedFaultException fault )
         {
            throw new SetResourcePropertyRequestFailedFaultException( getNamespaceSet(  ),
                                                                      fault.getFaultString(  ) );
         }
         catch ( InvalidUpdateResourcePropertiesRequestContentFaultException fault )
         {
            throw new InvalidSetResourcePropertiesRequestContentFaultException( getNamespaceSet(  ),
View Full Code Here

TOP

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

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.