Package org.jboss.as.protocol.mgmt

Examples of org.jboss.as.protocol.mgmt.RequestProcessingException


                        i = attachmentInput.read();
                    }
                }
                bytes = bout.toByteArray();
            } catch (IOException e) {
                throw new RequestProcessingException(e);
            } finally {
                //Think the caller is responsible for closing these
                //IoUtils.safeClose(attachmentInput);
            }
        }
View Full Code Here


                    byte[] hash = HashUtil.hexStringToByteArray(filePath);
                    localPath = localFileRepository.getDeploymentRoot(hash);
                    break;
                }
                default: {
                    throw new RequestProcessingException(String.format("Invalid root id [%d]", rootId));
                }
            }
        }
View Full Code Here

                        i = attachmentInput.read();
                    }
                }
                bytes = bout.toByteArray();
            } catch (IOException e) {
                throw new RequestProcessingException(e);
            } finally {
                //Think the caller is responsible for closing these
                //IoUtils.safeClose(attachmentInput);
            }
        }
View Full Code Here

                    byte[] hash = HashUtil.hexStringToByteArray(filePath);
                    localPath = localFileRepository.getDeploymentRoot(hash);
                    break;
                }
                default: {
                    throw new RequestProcessingException(String.format("Invalid root id [%d]", rootId));
                }
            }
        }
View Full Code Here

                        i = attachmentInput.read();
                    }
                }
                bytes = bout.toByteArray();
            } catch (IOException e) {
                throw new RequestProcessingException(e);
            } finally {
                //Think the caller is responsible for closing these
                //IoUtils.safeClose(attachmentInput);
            }
        }
View Full Code Here

            try {
                executeRequestContext.awaitPreparedOrFailed();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                executeRequestContext.setError(e.getMessage());
                throw new RequestProcessingException("Thread was interrupted waiting for the operation to prepare/fail");
            }
        }
View Full Code Here

        @Override
        protected void processRequest() throws RequestProcessingException {
            ExecuteRequestContext executeRequestContext = activeTransactions.get(getHeader().getBatchId());
            if (executeRequestContext == null) {
                throw new RequestProcessingException("No active tx found for id " + getHeader().getBatchId());
            }
            executeRequestContext.setTxCompleted(commitOrRollback == ModelControllerProtocol.PARAM_COMMIT);
        }
View Full Code Here

        }

        protected void processRequest() throws RequestProcessingException {
            ExecuteRequestContext requestContext = activeRequests.get(batchId);
            if (requestContext == null) {
                throw new RequestProcessingException("No active request found for handling report " + batchId);
            }
            requestContext.getMessageHandler().handleReport(severity, message);
        }
View Full Code Here

                        bout.write(i);
                        i = attachmentInput.read();
                    }
                }
            } catch (IOException e) {
                throw new RequestProcessingException(e);
            } finally {
                //Think the caller is responsible for closing these
                //IoUtils.safeClose(attachmentInput);
            }
            bytes = bout.toByteArray();
View Full Code Here

        }

        protected void processRequest() throws RequestProcessingException {
            requestContext = activeRequests.get(batchId);
            if (requestContext == null) {
                throw new RequestProcessingException("No active request found for proxy operation control " + batchId);
            }
            handle(batchId, requestContext.getControl(), response);
        }
View Full Code Here

TOP

Related Classes of org.jboss.as.protocol.mgmt.RequestProcessingException

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.