com.basho.riak.client.raw
Class ErlangTermErrorParser

java.lang.Object
  extended by com.basho.riak.client.raw.ErlangTermErrorParser

public class ErlangTermErrorParser
extends Object

Riak's PB interface returns errors as erlang terms encoded as strings, this parses them into the most specific checked exception

Author:
russell

Constructor Summary
ErlangTermErrorParser()
           
 
Method Summary
static RiakException parseErlangError(String erlangError)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErlangTermErrorParser

public ErlangTermErrorParser()
Method Detail

parseErlangError

public static RiakException parseErlangError(String erlangError)


Copyright © 2011. All Rights Reserved.