org.javaswift.joss.exception
Class HttpStatusExceptionUtil

java.lang.Object
  extended by org.javaswift.joss.exception.HttpStatusExceptionUtil

public class HttpStatusExceptionUtil
extends Object


Constructor Summary
HttpStatusExceptionUtil()
           
 
Method Summary
static CommandException getException(int httpStatus, CommandExceptionError customError)
           
static void throwException(int httpStatus)
           
static void throwException(int httpStatus, CommandExceptionError customError)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpStatusExceptionUtil

public HttpStatusExceptionUtil()
Method Detail

throwException

public static void throwException(int httpStatus,
                                  CommandExceptionError customError)
                           throws CommandException
Throws:
CommandException

throwException

public static void throwException(int httpStatus)
                           throws CommandException
Throws:
CommandException

getException

public static CommandException getException(int httpStatus,
                                            CommandExceptionError customError)


Copyright © 2012-2014 42 BV. All Rights Reserved.