org.jclouds.rimuhosting.miro.functions
Class ParseRimuHostingException

java.lang.Object
  extended by org.jclouds.rimuhosting.miro.functions.ParseRimuHostingException
All Implemented Interfaces:
com.google.common.base.Function<Exception,Object>

@Singleton
public class ParseRimuHostingException
extends Object
implements com.google.common.base.Function<Exception,Object>

On non 2xx we have an error. RimuHosting using the same json base object. TODO: map exceptions out into something that suits jclouds.

Author:
Ivan Meredith

Constructor Summary
ParseRimuHostingException(Json json)
           
 
Method Summary
 Object apply(Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

ParseRimuHostingException

@Inject
public ParseRimuHostingException(Json json)
Method Detail

apply

public Object apply(Exception e)
Specified by:
apply in interface com.google.common.base.Function<Exception,Object>


Copyright © 2009-2012 jclouds. All Rights Reserved.