Package org.springframework.web.util

Examples of org.springframework.web.util.NestedServletException


      }
      if (targetEx instanceof Error) {
        throw (Error) targetEx;
      }
      // Should never happen!
      throw new NestedServletException("Unknown Throwable type encountered", targetEx);
    }
  }
View Full Code Here


      failureCause = ex;
      throw ex;
    }
    catch (Throwable ex) {
      failureCause = ex;
      throw new NestedServletException("Request processing failed", ex);
    }

    finally {
      if (failureCause != null) {
        logger.debug("Could not complete request", failureCause);
View Full Code Here

    }
    catch (BeansException ex) {
      String msg = "Failed to set bean properties on filter '" +
          filterConfig.getFilterName() + "': " + ex.getMessage();
      logger.error(msg, ex);
      throw new NestedServletException(msg, ex);
    }

    // Let subclasses do whatever initialization they like.
    initFilterBean();
View Full Code Here

    }
    catch (IOException ex) {
      throw ex;
    }
    catch (Exception ex) {
      throw new NestedServletException("View rendering failed", ex);
    }
  }
View Full Code Here

      RemoteInvocation invocation = readRemoteInvocation(request);
      RemoteInvocationResult result = invokeAndCreateResult(invocation, getProxy());
      writeRemoteInvocationResult(request, response, result);
    }
    catch (ClassNotFoundException ex) {
      throw new NestedServletException("Class not found during deserialization", ex);
    }
  }
View Full Code Here

            }

        } catch (MethodInvocationException ex) {
            logger.error("Fail to merge template.", ex);
            Throwable cause = ex.getWrappedThrowable();
            throw new NestedServletException( "Method invocation failed during rendering of Velocity view with name '" + getBeanName() + "': " + ex.getMessage()
                                               + "; reference [" + ex.getReferenceName() + "], method '" + ex.getMethodName() + "'", cause == null ? ex : cause);
        }
    }
View Full Code Here

      bw.setPropertyValues(pvs, true);
    } catch (BeansException ex) {
      String msg = "Failed to set bean properties on filter '" + filterConfig.getFilterName()
          + "': " + ex.getMessage();
      logger.error(msg, ex);
      throw new NestedServletException(msg, ex);
    }

    // Let subclasses do whatever initialization they like.
    initFilterBean();
View Full Code Here

      }
      ServiceContext.begin(request, serviceId, objectId);
    try {
      invoke(request.getInputStream(), response.getOutputStream());
    }catch (Throwable ex) {
      throw new NestedServletException("Hessian skeleton invocation failed", ex);
    }finally{
      ServiceContext.end();
    }
  }
View Full Code Here

    try {
      invoke(request.getInputStream(), response.getOutputStream());
    }
    catch (Throwable ex) {
      throw new NestedServletException("Burlap skeleton invocation failed", ex);
    }
  }
View Full Code Here

    try {
      invoke(request.getInputStream(), response.getOutputStream());
    }
    catch (Throwable ex) {
      throw new NestedServletException("Hessian skeleton invocation failed", ex);
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.web.util.NestedServletException

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.