![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.optim.oaas.client.job.JobNotFoundException.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api_java_client Show documentation
Show all versions of api_java_client Show documentation
Java client API for DOCplexCloud, version 1.0-STABLE-b832
The newest version!
JobNotFoundException (Java Client for DOcplexcloud 1.0 API)
com.ibm.optim.oaas.client.job
Class JobNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.optim.oaas.client.OaasException
-
- com.ibm.optim.oaas.client.job.JobException
-
- com.ibm.optim.oaas.client.job.JobNotFoundException
-
- All Implemented Interfaces:
- Serializable
public class JobNotFoundException
extends JobException
Job exception thrown when the job cannot be found.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors
Constructor and Description
JobNotFoundException(String jobid)
JobNotFoundException(String jobid,
OperationException e)
-
Method Summary
Methods
Modifier and Type
Method and Description
String
getJobId()
Returns the ID of the associated job.
int
getRestStatusCode()
Gets the REST status code.
-
Methods inherited from class com.ibm.optim.oaas.client.OaasException
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageCode, getParameters, getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
Constructor Detail
-
JobNotFoundException
public JobNotFoundException(String jobid,
OperationException e)
-
JobNotFoundException
public JobNotFoundException(String jobid)
-
Method Detail
-
getJobId
public String getJobId()
Returns the ID of the associated job.
- Returns:
- The job ID.
-
getRestStatusCode
public int getRestStatusCode()
Description copied from class: OaasException
Gets the REST status code. This method must be overridden to provide the
appropriate value.
- Overrides:
getRestStatusCode
in class OaasException
- Returns:
- The status code.
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy