public class ServiceExceptionSupplier extends Object
SimpleValidationResult
.Constructor and Description |
---|
ServiceExceptionSupplier() |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.fugue.Function2<String,ValidationResult,? extends BadRequestException> |
badRequestException() |
static com.atlassian.fugue.Function2<String,ValidationResult,? extends ConflictException> |
conflictException() |
static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException> |
notFoundException() |
static com.google.common.base.Supplier<NotFoundException> |
notFoundException(String errorMsg) |
static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotImplementedServiceException> |
notImplemented() |
public static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException> notFoundException()
public static com.google.common.base.Supplier<NotFoundException> notFoundException(String errorMsg)
public static com.atlassian.fugue.Function2<String,ValidationResult,? extends ConflictException> conflictException()
public static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotImplementedServiceException> notImplemented()
public static com.atlassian.fugue.Function2<String,ValidationResult,? extends BadRequestException> badRequestException()
Copyright © 2003–2015 Atlassian. All rights reserved.