Package org.brapi.schematools.cli
Class BrAPICommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.brapi.schematools.cli.BrAPICommandException
- All Implemented Interfaces:
Serializable
Exception for BrAPI Commands
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBrAPICommandException(String message) Create a BrAPICommandException with a simple messageBrAPICommandException(String message, Throwable cause) Create a BrAPICommandException from another ExceptionBrAPICommandException(String message, Collection<org.brapi.schematools.core.response.Response.Error> errors) Create a BrAPICommandException from a collection of response errors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BrAPICommandException
Create a BrAPICommandException with a simple message- Parameters:
message- the error message
-
BrAPICommandException
Create a BrAPICommandException from another Exception- Parameters:
message- the error messagecause- the cause of the exception
-
BrAPICommandException
public BrAPICommandException(String message, Collection<org.brapi.schematools.core.response.Response.Error> errors) Create a BrAPICommandException from a collection of response errors- Parameters:
message- the error messageerrors- a collection of response errors
-