Class SchemaException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spdx.tools.schema.SchemaException
All Implemented Interfaces:
Serializable

public class SchemaException extends Exception
Exception thrown for schema-related errors
Author:
Gary O'Neall
See Also:
  • Constructor Details

    • SchemaException

      public SchemaException(String message)
      Constructs a new SchemaException with the specified detail message
      Parameters:
      message - the detail message
    • SchemaException

      public SchemaException(String message, Throwable cause)
      Constructs a new SchemaException with the specified detail message and cause
      Parameters:
      message - the detail message
      cause - the cause
    • SchemaException

      public SchemaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Constructs a new SchemaException with the specified detail message, cause, and configurations
      Parameters:
      message - the detail message
      cause - the cause
      enableSuppression - whether or not suppression is enabled
      writableStackTrace - whether or not the stack trace is writable