use of org.elasticsearch.transport.ActionNotFoundTransportException in project elasticsearch by elastic.
the class ExceptionSerializationTests method testActionNotFoundTransportException.
public void testActionNotFoundTransportException() throws IOException {
ActionNotFoundTransportException ex = serialize(new ActionNotFoundTransportException("AACCCTION"));
assertEquals("AACCCTION", ex.action());
assertEquals("No handler for action [AACCCTION]", ex.getMessage());
}
Aggregations