public class MapStrictMode
extends java.lang.Object
MapStrictModeException
whenever the map would fail silently otherwise.Constructor and Description |
---|
MapStrictMode() |
Modifier and Type | Method and Description |
---|---|
static void |
setStrictModeEnabled(boolean strictModeEnabled)
Set the strict mode that will throw the
MapStrictModeException
whenever the map would fail silently otherwise. |
static void |
strictModeViolation(java.lang.String message)
Internal use.
|
static void |
strictModeViolation(java.lang.String message,
java.lang.Throwable throwable)
Internal use.
|
static void |
strictModeViolation(java.lang.Throwable throwable)
Internal use.
|
public static void setStrictModeEnabled(boolean strictModeEnabled)
MapStrictModeException
whenever the map would fail silently otherwise.strictModeEnabled
- true to enable the strict mode, false otherwisepublic static void strictModeViolation(java.lang.String message)
public static void strictModeViolation(java.lang.String message, java.lang.Throwable throwable)
public static void strictModeViolation(java.lang.Throwable throwable)