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