Class OpenTimeoutException

  • All Implemented Interfaces:
    java.io.Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.TimeoutInMsAccessor

    public class OpenTimeoutException
    extends OpenException
    implements org.refcodes.mixin.TimeoutInMsAccessor
    Thrown in case opening or accessing an open line (connection, junction, link) caused timeout problems. Usually a method similar to Openable.open() throws such an exception.

    ATTENTION: This Exception does not provide a dedicated ConnectionAccessor as a LinkComponent does not necessary provide dedicated connection information, it may be hard wired to another software system's hot spot or similar with the option of opening or closing.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor

        org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.TimeoutInMsAccessor

        org.refcodes.mixin.TimeoutInMsAccessor.TimeoutInMsMutator, org.refcodes.mixin.TimeoutInMsAccessor.TimeoutInMsProperty
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenTimeoutException​(long aTimeoutInMs, java.lang.String message)
      Instantiates a new open timeout exception.
      OpenTimeoutException​(long aTimeoutInMs, java.lang.String aMessage, java.lang.String aErrorCode)
      Instantiates a new open timeout exception.
      OpenTimeoutException​(long aTimeoutInMs, java.lang.String message, java.lang.Throwable cause)
      Instantiates a new open timeout exception.
      OpenTimeoutException​(long aTimeoutInMs, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new open timeout exception.
      OpenTimeoutException​(long aTimeoutInMs, java.lang.Throwable cause)
      Instantiates a new open timeout exception.
      OpenTimeoutException​(long aTimeoutInMs, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new open timeout exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTimeoutInMs()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.String aMessage,
                                    java.lang.String aErrorCode)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        aMessage - the message
        aErrorCode - the error code
      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.String aMessage,
                                    java.lang.Throwable aCause,
                                    java.lang.String aErrorCode)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.String message,
                                    java.lang.Throwable cause)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        message - the message
        cause - the cause
      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.String message)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        message - the message
      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.Throwable aCause,
                                    java.lang.String aErrorCode)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        aCause - the cause
        aErrorCode - the error code
      • OpenTimeoutException

        public OpenTimeoutException​(long aTimeoutInMs,
                                    java.lang.Throwable cause)
        Instantiates a new open timeout exception.
        Parameters:
        aTimeoutInMs - the timeout in ms
        cause - the cause
    • Method Detail

      • getTimeoutInMs

        public long getTimeoutInMs()
        Specified by:
        getTimeoutInMs in interface org.refcodes.mixin.TimeoutInMsAccessor