JavaScript is disabled on your browser.
Skip navigation links
io.netty.util

Class Signal

  • All Implemented Interfaces:
    java.io.Serializable


    public final class Signal
    extends java.lang.Error
    A special Error which is used to signal some state or request by throwing it. Signal has an empty stack trace and has no cause to save the instantiation overhead.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors
      Constructor and Description
      Signal (java.lang.String name)
      Deprecated.
      Use valueOf(String) instead.
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void expect (Signal signal)
      Check if the given Signal is the same as this instance.
      java.lang.Throwable fillInStackTrace ()
      java.lang.Throwable initCause (java.lang.Throwable cause)
      java.lang.String toString ()
      static Signal valueOf (java.lang.String name)
      Creates a new Signal with the specified name.
      • Methods inherited from class java.lang.Throwable

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

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

      • Signal

        @Deprecated
        public Signal(java.lang.String name)
        Deprecated. Use valueOf(String) instead.
    • Method Detail

      • valueOf

        public static Signal valueOf(java.lang.String name)
        Creates a new Signal with the specified name.
      • expect

        public void expect(Signal signal)
        Check if the given Signal is the same as this instance. If not an IllegalStateException will be thrown.
      • initCause

        public java.lang.Throwable initCause(java.lang.Throwable cause)
        Overrides:
        initCause in class java.lang.Throwable
      • fillInStackTrace

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

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

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /