Package io.netty.util
Class LeakPresenceDetector.AllocationProhibitedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.netty.util.LeakPresenceDetector.AllocationProhibitedException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- LeakPresenceDetector<T>
public static final class LeakPresenceDetector.AllocationProhibitedException extends IllegalStateException
Special exception type to show that an allocation is prohibited at the moment, for example because theLeakPresenceDetector.ResourceScopeis closed, or because the current thread cannot be associated with a particular scope.Some code in Netty will treat this exception specially to avoid allocation loops.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AllocationProhibitedException(String s)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AllocationProhibitedException
public AllocationProhibitedException(String s)
-
-