Package org.apache.datasketches.memory
Class MemoryCloseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.datasketches.memory.MemoryException
-
- org.apache.datasketches.memory.MemoryCloseException
-
- All Implemented Interfaces:
Serializable
public class MemoryCloseException extends MemoryException
Specific RuntimeException for the AutoCloseable.close() method.- Author:
- Lee Rhodes
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MemoryCloseException()
The associated resource failed to close.MemoryCloseException(String resource)
The associated resource failed to close, with comment
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MemoryCloseException
public MemoryCloseException()
The associated resource failed to close.
-
MemoryCloseException
public MemoryCloseException(String resource)
The associated resource failed to close, with comment- Parameters:
resource
- the named resource that failed to close, plus other comments.
-
-