Package org.apache.beam.sdk.coders
Class Coder.NonDeterministicException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.beam.sdk.coders.Coder.NonDeterministicException
- All Implemented Interfaces:
Serializable
Exception thrown by
Coder.verifyDeterministic()
if the encoding is not deterministic,
including details of why the encoding is not deterministic.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNonDeterministicException
(Coder<?> coder, String reason) NonDeterministicException
(Coder<?> coder, String reason, @Nullable Coder.NonDeterministicException e) NonDeterministicException
(Coder<?> coder, List<String> reasons) NonDeterministicException
(Coder<?> coder, List<String> reasons, @Nullable Coder.NonDeterministicException cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonDeterministicException
public NonDeterministicException(Coder<?> coder, String reason, @Nullable Coder.NonDeterministicException e) -
NonDeterministicException
-
NonDeterministicException
-
NonDeterministicException
public NonDeterministicException(Coder<?> coder, List<String> reasons, @Nullable Coder.NonDeterministicException cause)
-
-
Method Details
-
getReasons
-
getMessage
- Overrides:
getMessage
in classThrowable
-