public class RenderingServiceException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION
Indicates that the error occurred due to a connection failure.
|
static int |
OPERATION_NOT_SUPPORTED
Indicates that the error occurred due to an operation not being
supported.
|
Constructor and Description |
---|
RenderingServiceException()
Creates a new exception.
|
RenderingServiceException(java.lang.String message)
Constructs a new exception with the specified detail message.
|
RenderingServiceException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
RenderingServiceException(java.lang.Throwable cause)
Constructs a new exception with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtendedMessage()
Prints the stack trace and returns it as a string.
|
int |
getIndex()
Returns the index.
|
void |
setIndex(int index)
Sets the index indicating if the error occurred due to a network
failure.
|
public static final int CONNECTION
public static final int OPERATION_NOT_SUPPORTED
public RenderingServiceException()
public RenderingServiceException(java.lang.String message)
message
- Short explanation of the problem.public RenderingServiceException(java.lang.Throwable cause)
cause
- The exception that caused this one to be risen.public RenderingServiceException(java.lang.String message, java.lang.Throwable cause)
message
- Short explanation of the problem.cause
- The exception that caused this one to be risen.public java.lang.String getExtendedMessage()
public void setIndex(int index)
index
- The value to set.public int getIndex()