Class OperationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OperationException
    extends java.io.IOException
    Exceptions thrown when protocol errors occur.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      OperationErrorType getType()
      Get the type of error.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

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

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

      • OperationException

        public OperationException()
        General exception (no message).
      • OperationException

        public OperationException​(OperationErrorType eType,
                                  java.lang.String msg)
        Exception with a message.
        Parameters:
        eType - the type of error that occurred
        msg - the error message
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable