com.atlassian.confluence.api.service.exceptions
Class BadRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.confluence.api.service.exceptions.ServiceException
com.atlassian.confluence.api.service.exceptions.BadRequestException
- All Implemented Interfaces:
- WithValidationResult, java.io.Serializable
public class BadRequestException
- extends ServiceException
- implements WithValidationResult
Thrown when the data in the incoming request is incomplete or otherwise invalid.
This exception can handle the case where multiple validation errors occur, in which case the errors should be
returned to the client.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, 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 |
BadRequestException
public BadRequestException()
BadRequestException
public BadRequestException(java.lang.String message)
BadRequestException
public BadRequestException(java.lang.Throwable throwable)
BadRequestException
public BadRequestException(java.lang.String message,
java.lang.Throwable throwable)
BadRequestException
public BadRequestException(java.lang.String message,
ValidationResult validationResult)
getValidationResult
public ValidationResult getValidationResult()
- Specified by:
getValidationResult
in interface WithValidationResult
Copyright © 2003-2014 Atlassian. All Rights Reserved.