public class KbExceptionHandler extends Object
IOExceptions from OpenCyc API will be wrapped with KBApiRuntimeException. This is because the KB API user is not expected to handle such exceptions.
|Constructor and Description|
|Modifier and Type||Method and Description|
Check if a Throwable is caused by CycConnectionException; if so, re-throw it.
public static void rethrowIfCycConnectionException(Throwable thrown) throws com.cyc.kb.exception.KbRuntimeException
Copyright © 2013–2018 Cycorp, Inc. All rights reserved.