Search in sources :

Example 1 with ActionNotFoundTransportException

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());
}
Also used : ActionNotFoundTransportException(org.elasticsearch.transport.ActionNotFoundTransportException)

Aggregations

ActionNotFoundTransportException (org.elasticsearch.transport.ActionNotFoundTransportException)1