Class RenderingServiceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RenderingServiceException
    extends java.lang.Exception
    Reports an error occurred while trying to render a plane.
    Since:
    OME2.2
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • CONNECTION

        public static final int CONNECTION
        Indicates that the error occurred due to a connection failure.
        See Also:
        Constant Field Values
      • OPERATION_NOT_SUPPORTED

        public static final int OPERATION_NOT_SUPPORTED
        Indicates that the error occurred due to an operation not being supported.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RenderingServiceException

        public RenderingServiceException()
        Creates a new exception.
      • RenderingServiceException

        public RenderingServiceException​(java.lang.String message)
        Constructs a new exception with the specified detail message.
        Parameters:
        message - Short explanation of the problem.
      • RenderingServiceException

        public RenderingServiceException​(java.lang.Throwable cause)
        Constructs a new exception with the specified cause.
        Parameters:
        cause - The exception that caused this one to be risen.
      • RenderingServiceException

        public RenderingServiceException​(java.lang.String message,
                                         java.lang.Throwable cause)
        Constructs a new exception with the specified detail message and cause.
        Parameters:
        message - Short explanation of the problem.
        cause - The exception that caused this one to be risen.
    • Method Detail

      • getExtendedMessage

        public java.lang.String getExtendedMessage()
        Prints the stack trace and returns it as a string.
        Returns:
        See above.
      • setIndex

        public void setIndex​(int index)
        Sets the index indicating if the error occurred due to a network failure.
        Parameters:
        index - The value to set.
      • getIndex

        public int getIndex()
        Returns the index.
        Returns:
        See above.