com.j_spaces.core.multiple.write
Class WriteMultiplePartialFailureException
java.lang.Object
  
java.lang.Throwable
      
java.lang.Exception
          
java.lang.RuntimeException
              
com.j_spaces.core.multiple.write.WriteMultiplePartialFailureException
- All Implemented Interfaces: 
 - Serializable
 
public class WriteMultiplePartialFailureException
- extends RuntimeException
 
WriteMultiplePartialFailureException is thrown when write multiple is called and for
 some reason the insertion of some of the entries was failed.
- Since:
 
  - 6.5
 
- See Also:
 UnknownTypeException, 
com.j_spaces.core.UnusableEntryException, 
Serialized Form
 
 
 
 
WriteMultiplePartialFailureException
public WriteMultiplePartialFailureException(IWriteResult[] results)
- Parameters:
 results - array of results values to be sent to user.
WriteMultiplePartialFailureException
public WriteMultiplePartialFailureException(int length,
                                            Throwable e)
- Parameters:
 length - the length of results array.an - error value to be used for each value sent to the user.
getResults
public IWriteResult[] getResults()
- Returns:
 - the results that are kept by this object.
 
 
getMessage
public String getMessage()
- Summarize how many success and fail there are for the request, show how much failures for each type of error.
- Overrides:
 getMessage in class Throwable