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-STABLE-b832
The newest version!
AttachmentNotFoundException (Java Client for DOcplexcloud 1.0 API)
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
-
-
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.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy