com.smartbear.swagger4j.impl
Class ErrorResponseImpl
java.lang.Object
com.smartbear.swagger4j.impl.ErrorResponseImpl
- All Implemented Interfaces:
- ErrorResponse
public class ErrorResponseImpl
- extends Object
- implements ErrorResponse
Default implementation of the ErrorResponse interface
- See Also:
ErrorResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorResponseImpl
public ErrorResponseImpl(int code,
String reason)
getCode
public int getCode()
- Specified by:
getCode
in interface ErrorResponse
setCode
public void setCode(int code)
- Specified by:
setCode
in interface ErrorResponse
getReason
public String getReason()
- Specified by:
getReason
in interface ErrorResponse
setReason
public void setReason(String reason)
- Specified by:
setReason
in interface ErrorResponse
Copyright © 2013. All Rights Reserved.