public class ServiceExceptionSupplier extends Object
SimpleValidationResult
.Constructor and Description |
---|
ServiceExceptionSupplier() |
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotFoundException> notFoundException()
notFoundExceptionSupplier()
public static BiFunction<String,ValidationResult,? extends NotFoundException> notFoundExceptionSupplier()
@Deprecated public static com.google.common.base.Supplier<NotFoundException> notFoundException(String errorMsg)
notFound(String)
}public static Supplier<NotFoundException> notFound(String message)
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends GoneException> goneException()
goneExceptionSupplier(String)
public static BiFunction<String,ValidationResult,? extends GoneException> goneExceptionSupplier()
@Deprecated public static com.google.common.base.Supplier<GoneException> goneException(String errorMsg)
goneExceptionSupplier(String)
public static Supplier<GoneException> goneExceptionSupplier(String errorMsg)
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends ConflictException> conflictException()
conflictExceptionSupplier()
public static BiFunction<String,ValidationResult,? extends ConflictException> conflictExceptionSupplier()
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends NotImplementedServiceException> notImplemented()
notImplementedSupplier()
public static BiFunction<String,ValidationResult,? extends NotImplementedServiceException> notImplementedSupplier()
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends BadRequestException> badRequestException()
badRequestExceptionSupplier()
public static BiFunction<String,ValidationResult,? extends BadRequestException> badRequestExceptionSupplier()
@Deprecated public static com.atlassian.fugue.Function2<String,ValidationResult,? extends PermissionException> permissionExceptionException()
permissionExceptionExceptionSupplier()
public static BiFunction<String,ValidationResult,? extends PermissionException> permissionExceptionExceptionSupplier()
Copyright © 2003–2020 Atlassian. All rights reserved.