![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.optim.oaas.client.job.AttachmentNotFoundException.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.257
The newest version!
<span class="http"><span class="http"><span class="scala"><span class="hljs-type">AttachmentNotFoundException</span> (<span class="hljs-type">Java</span> <span class="hljs-type">Client</span> <span class="hljs-keyword">for</span> <span class="hljs-type">DOcplexcloud</span> <span class="hljs-number">1.0</span> <span class="hljs-type">API</span>)</span></span></span>
com.ibm.optim.oaas.client.job
Class AttachmentNotFoundException
- 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.AttachmentNotFoundException
-
- All Implemented Interfaces:
- Serializable
public class AttachmentNotFoundException
extends JobException
Job exception indicating that the attachment or the attachment content was not found.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description AttachmentNotFoundException(String jobid,
String attid)
AttachmentNotFoundException(String jobid,
String attid,
OperationException e)
-
Method Summary
Methods Modifier and Type Method and Description String
getAttachmentId()
Returns the ID of the attachment associated with the exception.
String
getJobId()
Returns the ID of the job associated with the exception.
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
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Constructor Detail
-
AttachmentNotFoundException
public AttachmentNotFoundException(String jobid,
String attid,
OperationException e)
-
Method Detail
-
getJobId
public String getJobId()
Returns the ID of the job associated with the exception.
- Returns:
- The job ID.
-
getAttachmentId
public String getAttachmentId()
Returns the ID of the attachment associated with the exception.
- Returns:
- The attachment 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.