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 GoneException> |
goneException() |
static com.google.common.base.Supplier<GoneException> |
goneException(String errorMsg) |
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() |
static com.atlassian.fugue.Function2<String,ValidationResult,? extends PermissionException> |
permissionExceptionException() |
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 GoneException> goneException()
public static com.google.common.base.Supplier<GoneException> goneException(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()
public static com.atlassian.fugue.Function2<String,ValidationResult,? extends PermissionException> permissionExceptionException()
Copyright © 2003–2016 Atlassian. All rights reserved.