Ejemplo n.º 1
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#setReaders(org.fosstrak.ale.wsdl.alelr.epcglobal.SetReaders  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.SetReadersResult setReaders(SetReaders parms)
     throws ValidationExceptionResponse, InUseExceptionResponse, ImplementationExceptionResponse,
         NonCompositeReaderExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse, ImmutableReaderExceptionResponse,
         ReaderLoopExceptionResponse {
   LOG.debug("setReaders");
   try {
     logicalReaderManager.setReaders(parms.getName(), parms.getReaders().getReader());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.InUseException e) {
     throw new InUseExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImmutableReaderException e) {
     throw new ImmutableReaderExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.NonCompositeReaderException e) {
     throw new NonCompositeReaderExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ValidationException e) {
     throw new ValidationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ReaderLoopException e) {
     throw new ReaderLoopExceptionResponse(e.getMessage(), e);
   }
   return null;
 }
Ejemplo n.º 2
0
 /* (non-Javadoc)
  * @see org.fosstrak.ale.wsdl.alelr.epcglobal.ALELRServicePortType#undefine(org.fosstrak.ale.wsdl.alelr.epcglobal.Undefine  parms )*
  */
 public org.fosstrak.ale.wsdl.alelr.epcglobal.UndefineResult undefine(Undefine parms)
     throws InUseExceptionResponse, ImplementationExceptionResponse, SecurityExceptionResponse,
         NoSuchNameExceptionResponse, ImmutableReaderExceptionResponse {
   LOG.debug("undefine");
   try {
     logicalReaderManager.undefine(parms.getName());
   } catch (org.fosstrak.ale.exception.NoSuchNameException e) {
     throw new NoSuchNameExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.SecurityException e) {
     throw new SecurityExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImplementationException e) {
     throw new ImplementationExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.InUseException e) {
     throw new InUseExceptionResponse(e.getMessage(), e);
   } catch (org.fosstrak.ale.exception.ImmutableReaderException e) {
     throw new ImmutableReaderExceptionResponse(e.getMessage(), e);
   }
   return null;
 }