Class UOE
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.UnsupportedOperationException
org.apache.druid.java.util.common.UOE
- All Implemented Interfaces:
Serializable,SanitizableException
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UOE
-
-
Method Details
-
sanitize
Description copied from interface:SanitizableExceptionApply the function for transforming the error message then return new Exception with sanitized fields and transformed message. The is only intended to be used to transform the error message String of the Exception as only the error message String is common to all Exception classes. For other fields (which may be unique to each particular Exception class), each implementation of this method can decide for itself how to sanitize those fields (i.e. leaving unchanged, changing to null, changing to a fixed String, etc.). Note that this method returns a new Exception of the same type since Exception error message is immutable.- Specified by:
sanitizein interfaceSanitizableException
-