OpenSearch/modules
Jason Tedor 96f283c195 Rename writeThrowable to writeException
This commit renames writeThrowable to writeException. The situation here
stems from the fact that the StreamOutput method for serializing
Exceptions needs to accept Throwables too as Throwables can be the cause
of serialized Exceptions. Yet, we do not serialize Throwables in the
Error sub-hierarchy in a way that they can be deserialized into their
initial type. This leads to an asymmetry in the StreamOutput method for
serializing Exceptions and the StreamInput method for writing
Excpetions. Namely, the former will accept Throwables but the latter
will only return Exceptions. A goal with the stream methods has always
been symmetry in the method names so that serialization/deserialization
routines appear symmetrical in code. It is this asymmetry on the
input/output types for Exceptions on StreamOutput/StreamInput that
clashes with the desired symmetry of naming. Despite this, we should
favor symmetry in the naming of the methods. This commit renames
StreamOutput#writeThrowable to StreamOutput#writeException which leaves
us with Exception StreamInput#readException and void
StreamOutput#writeException(Throwable).
2016-07-05 14:37:01 -04:00
..
aggs-matrix-stats Enable Checkstyle RedundantModifier 2016-07-04 15:22:12 +02:00
ingest-common Enable Checkstyle RedundantModifier 2016-07-04 15:22:12 +02:00
lang-expression Compile each Groovy script in its own classloader 2016-06-20 08:17:09 +02:00
lang-groovy [TEST] fix histogram test when extended bounds overlaps data 2016-07-05 09:01:08 +01:00
lang-mustache Rename writeThrowable to writeException 2016-07-05 14:37:01 -04:00
lang-painless Enable Checkstyle RedundantModifier 2016-07-04 15:22:12 +02:00
percolator Rename writeThrowable to writeException 2016-07-05 14:37:01 -04:00
reindex Do not catch throwable 2016-07-04 08:41:06 -04:00
build.gradle Enforce isolated mode for all plugins 2016-03-24 09:17:33 +01:00