org.javaswift.joss.exception
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.javaswift.joss.exception.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AlreadyExistsException, ForbiddenException, Md5ChecksumException, MissingContentLengthOrTypeException, ModifiedException, NotEmptyException, NotFoundException, NotModifiedException, UnauthorizedException

public class CommandException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
CommandException(Integer httpStatusCode, CommandExceptionError error)
           
CommandException(String message)
           
CommandException(String message, Throwable rootCause)
           
 
Method Summary
 CommandExceptionError getError()
           
 int getHttpStatusCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandException

public CommandException(Integer httpStatusCode,
                        CommandExceptionError error)

CommandException

public CommandException(String message)

CommandException

public CommandException(String message,
                        Throwable rootCause)
Method Detail

getHttpStatusCode

public int getHttpStatusCode()

getError

public CommandExceptionError getError()

toString

public String toString()
Overrides:
toString in class Throwable


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