net.sf.jcopist.service.exception
Class ServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.jcopist.service.exception.ServerException
All Implemented Interfaces:
java.io.Serializable

public class ServerException
extends java.lang.Exception

This exception indicates an internal error on the server side.

See Also:
Serialized Form

Constructor Summary
ServerException(java.lang.String _message)
           
 
Method Summary
 int getSubmittedCount()
          If this exception occurs while submitting an array of jobs, returns the 0-relative index of the first job that could not be submitted.
 void setSubmittedCount(int _submittedCount)
          Sets the submitted count property.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerException

public ServerException(java.lang.String _message)
See Also:
Exception.Exception(java.lang.String)
Method Detail

getSubmittedCount

public int getSubmittedCount()
If this exception occurs while submitting an array of jobs, returns the 0-relative index of the first job that could not be submitted.

Returns:
the index.

setSubmittedCount

public void setSubmittedCount(int _submittedCount)
Sets the submitted count property.

Parameters:
_submittedCount - the new value.


Copyright © 2007. All Rights Reserved.