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

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


         //set the Printer EPR on the response
         createPrinterResponse.setPrinterReference( (EndpointReferenceType) prop.toXmlObjects(  )[0] );
      }
      catch ( Exception e )
      {
         throw new ResourceUnknownFaultException( new NamespaceVersionHolderImpl(  ),
                                                  new ResourceUnknownException( null,
                                                                                "An error occurred when invoking CreatePrinter" ) );
      }

      return responseDocument;
View Full Code Here


      }
      catch (ResourceUnknownException nsr)
      {
          try
          {
              throw new ResourceUnknownFaultException(new NamespaceVersionHolderImpl(),getResourceContext().getResource().getID(), getResourceContext().getServiceName() );
          }
          catch (ResourceException re)
          {
              throw new ClientErrorNotPossibleFaultException(new NamespaceVersionHolderImpl(), "Error Occurred: " + re.getLocalizedMessage());
          }
View Full Code Here

TOP

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

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.