public class RenderingServiceException extends 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(String message)
Constructs a new exception with the specified detail message.
|
RenderingServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail message and cause.
|
RenderingServiceException(Throwable cause)
Constructs a new exception with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int CONNECTION
public static final int OPERATION_NOT_SUPPORTED
public RenderingServiceException()
public RenderingServiceException(String message)
message
- Short explanation of the problem.public RenderingServiceException(Throwable cause)
cause
- The exception that caused this one to be risen.public String getExtendedMessage()
public void setIndex(int index)
index
- The value to set.public int getIndex()
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.