public class AssetException extends RuntimeException implements Supplier<String>
AssetProblem
and the id of the processor who fail to process the input.| Constructor and Description |
|---|
AssetException(String id,
AssetProblem problem)
Creates a new
AssetException. |
AssetException(String id,
AssetProblem problem,
Throwable cause)
Creates a new
AssetException. |
AssetException(String id,
List<AssetProblem> problems)
Creates a new
AssetException. |
AssetException(String id,
List<AssetProblem> problems,
Throwable cause)
Creates a new
AssetException. |
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
String |
getId() |
List<AssetProblem> |
getProblems() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AssetException(String id, AssetProblem problem)
AssetException.id - Processor id.problem - Asset problem.public AssetException(String id, AssetProblem problem, Throwable cause)
AssetException.id - Processor id.problem - Asset problem.cause - Cause (might be null).public AssetException(String id, List<AssetProblem> problems)
AssetException.id - Processor id.problems - Asset problems.public AssetException(String id, List<AssetProblem> problems, Throwable cause)
AssetException.id - Processor id.problems - Asset problems.cause - Cause (might be null).public String get()
public String getId()
public List<AssetProblem> getProblems()
Copyright © 2019. All rights reserved.