Package org.spdx.tools.schema
Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.spdx.tools.schema.SchemaException
- All Implemented Interfaces:
Serializable
Exception thrown for schema-related errors
- Author:
- Gary O'Neall
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSchemaException(String message) Constructs a new SchemaException with the specified detail messageSchemaException(String message, Throwable cause) Constructs a new SchemaException with the specified detail message and causeSchemaException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Constructs a new SchemaException with the specified detail message, cause, and configurations -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SchemaException
Constructs a new SchemaException with the specified detail message- Parameters:
message- the detail message
-
SchemaException
Constructs a new SchemaException with the specified detail message and cause- Parameters:
message- the detail messagecause- 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 messagecause- the causeenableSuppression- whether or not suppression is enabledwritableStackTrace- whether or not the stack trace is writable
-