public static boolean isSerializable( Throwable error ) {
        if( error == null ) {
            return false;
        }
        for( Throwable t = error; t != null; t = t.getCause() ) {
            if( Serializer.getExactSerializerRegistration(t.getClass()) == null ) {
                return false;
            }
        }
        return true; 
    }
Used internally to send an RPC call's response back to
 the caller.

 @author    Paul Speed
jme3-networking/src/main/java/com/jme3/network/service/rpc/msg/RpcResponseMessage.java