Class EmptyExceptionContext
- java.lang.Object
-
- com.snowflake.connectors.common.exception.context.EmptyExceptionContext
-
- All Implemented Interfaces:
ExceptionContext
public final class EmptyExceptionContext extends Object implements ExceptionContext
Empty implementation ofExceptionContext
.
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyExceptionContext
INSTANCE
An instance of theEmptyExceptionContext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asMap()
Returns properties of this context as a map.
-
-
-
Field Detail
-
INSTANCE
public static final EmptyExceptionContext INSTANCE
An instance of theEmptyExceptionContext
.
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
Returns properties of this context as a map.- Specified by:
asMap
in interfaceExceptionContext
- Returns:
- an empty immutable map
-
-