Class BrAPICommandException

All Implemented Interfaces:
Serializable

public class BrAPICommandException extends RuntimeException
Exception for BrAPI Commands
See Also:
  • Constructor Details

    • BrAPICommandException

      public BrAPICommandException(String message)
      Create a BrAPICommandException with a simple message
      Parameters:
      message - the error message
    • BrAPICommandException

      public BrAPICommandException(String message, Throwable cause)
      Create a BrAPICommandException from another Exception
      Parameters:
      message - the error message
      cause - 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 message
      errors - a collection of response errors