Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.graph.request
Class MultipleRequestFailuresException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.modeshape.graph.request.RequestException
                      org.modeshape.graph.request.MultipleRequestFailuresException

All Implemented Interfaces:
  Serializable

    public class MultipleRequestFailuresException

extends RequestException

A `RequestException` that wraps multiple failed `Request` objects.

See Also:
  Serialized Form

Constructor Summary
`MultipleRequestFailuresException(List<Request> failedRequests, int totalNumberOfRequests)`

Method Summary
`List<Request>` | `getFailedRequests()`
`String` | `getMessage()`
`int` | `getTotalNumberOfRequests()`
`String` | `toString()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### MultipleRequestFailuresException

    public MultipleRequestFailuresException(List<Request> failedRequests,
                                            int totalNumberOfRequests)

Parameters:
  `failedRequests` - the failed requests, where each request contains its own exception
  `totalNumberOfRequests` - the total number of requests that were submitted

Method Detail

### getTotalNumberOfRequests

    public int getTotalNumberOfRequests()

  Returns:
    totalNumberOfRequests

### getFailedRequests

    public List<Request> getFailedRequests()

  Returns:
    failedRequests

### getMessage

    public String getMessage()

  Overrides:
    `getMessage` in class `Throwable`
  See Also:
    `Throwable.getMessage()`

### toString

    public String toString()

  Overrides:
    `toString` in class `Throwable`
  See Also:
    `Throwable.toString()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.