public class PreconditionException extends RepositoryRuntimeException
Constructor and Description |
---|
PreconditionException(String msg,
int httpStatus)
Ordinary constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PreconditionException(String msg, int httpStatus)
msg
- error messagehttpStatus
- the http status codepublic int getHttpStatus()
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.