net.stepniak.picheese.error.server.exception
Class ServerBaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.stepniak.picheese.error.server.exception.ServerBaseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadRequestException, ForbiddenException, HttpsRequiredException, ImageException, InternalServerException, MethodNotAllowedException, NotAuthorizedException, NotFoundException, PhotoException, UnsupportedMediaTypeException, UserAuthException

public abstract class ServerBaseException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
ServerBaseException(ServerErrorType error, Throwable cause, int status)
           
 
Method Summary
 Throwable getCause()
           
 ServerErrorType getError()
           
 int getStatus()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServerBaseException

public ServerBaseException(ServerErrorType error,
                           Throwable cause,
                           int status)
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable

getError

public ServerErrorType getError()

getStatus

public int getStatus()


Copyright © 2013. All Rights Reserved.