Package | Description |
---|---|
org.json | |
uws | |
uws.config | |
uws.job | |
uws.job.serializer | |
uws.service | |
uws.service.backup | |
uws.service.error | |
uws.service.file |
Modifier and Type | Method and Description |
---|---|
static org.json.JSONObject |
Json4Uws.getJson(ErrorSummary error)
Gets the JSON representation of the given error summary.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
UWSToolBox.writeErrorFile(java.lang.Exception ex,
ErrorSummary error,
UWSJob job,
java.io.OutputStream output)
Writes the stack trace of the given exception in the file whose the name and the parent directory are given in parameters.
|
Modifier and Type | Method and Description |
---|---|
UWSJob |
ConfigurableUWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
Modifier and Type | Field and Description |
---|---|
protected ErrorSummary |
UWSJob.errorSummary
This error summary gives a human-readable error message for the
underlying job.
|
Modifier and Type | Method and Description |
---|---|
ErrorSummary |
UWSJob.getErrorSummary()
Gets the error that occurs during the execution of this job.
|
Modifier and Type | Method and Description |
---|---|
void |
UWSJob.error(ErrorSummary error)
Stops immediately the job, sets its error summary, sets its phase to
ExecutionPhase.ERROR and sets its end time. |
void |
JobThread.setError(ErrorSummary error)
Published the given error in the job.
|
void |
UWSJob.setErrorSummary(ErrorSummary errorSummary)
Sets the error that occurs during the execution of this job.
|
Constructor and Description |
---|
UWSJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error)
CONSTRUCTOR TO USE TO RESTORE A JOB whatever is its phase.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLSerializer.getErrorSummary(ErrorSummary error,
boolean root) |
java.lang.String |
JSONSerializer.getErrorSummary(ErrorSummary error,
boolean root) |
abstract java.lang.String |
UWSSerializer.getErrorSummary(ErrorSummary error,
boolean root)
Serializes the given error summary.
|
Modifier and Type | Method and Description |
---|---|
UWSJob |
UWSServlet.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
UWSJob |
UWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error)
Creates a UWS job with the following attributes.
|
UWSJob |
AbstractUWSFactory.createJob(java.lang.String jobID,
long creationTime,
JobOwner owner,
UWSParameters params,
long quote,
long startTime,
long endTime,
java.util.List<Result> results,
ErrorSummary error) |
Modifier and Type | Method and Description |
---|---|
protected ErrorSummary |
DefaultUWSBackupManager.getError(org.json.JSONObject obj)
Builds the error summary corresponding to the given JSON object.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceErrorWriter.writeError(java.lang.Throwable t,
ErrorSummary error,
UWSJob job,
java.io.OutputStream output)
Write the given error in the given output stream.
|
void |
DefaultUWSErrorWriter.writeError(java.lang.Throwable t,
ErrorSummary error,
UWSJob job,
java.io.OutputStream output) |
Modifier and Type | Method and Description |
---|---|
boolean |
LocalUWSFileManager.deleteError(ErrorSummary error,
UWSJob job) |
boolean |
UWSFileManager.deleteError(ErrorSummary error,
UWSJob job)
Deletes the error file corresponding to the given job error summary.
|
protected java.io.File |
LocalUWSFileManager.getErrorFile(ErrorSummary error,
UWSJob job)
Gets the file corresponding to the described error.
|
protected java.lang.String |
LocalUWSFileManager.getErrorFileName(ErrorSummary error,
UWSJob job)
Gets the name of the file in which the described error is/must be written.
|
java.io.InputStream |
LocalUWSFileManager.getErrorInput(ErrorSummary error,
UWSJob job) |
java.io.InputStream |
UWSFileManager.getErrorInput(ErrorSummary error,
UWSJob job)
Gets an input stream on the error file corresponding to the given error
and job.
|
java.io.OutputStream |
LocalUWSFileManager.getErrorOutput(ErrorSummary error,
UWSJob job) |
java.io.OutputStream |
UWSFileManager.getErrorOutput(ErrorSummary error,
UWSJob job)
Gets an output stream on the error file corresponding to the given error
and job.
|
long |
LocalUWSFileManager.getErrorSize(ErrorSummary error,
UWSJob job) |
long |
UWSFileManager.getErrorSize(ErrorSummary error,
UWSJob job)
Gets the size of the specified error summary file.
|