Package com.io7m.smfj.core
Interface SMFErrorType
-
- All Known Subinterfaces:
SMFParseErrorType,SMFProcessingErrorType,SMFSchemaValidationErrorType
- All Known Implementing Classes:
SMFParseError,SMFProcessingError,SMFSchemaValidationError
public interface SMFErrorTypeThe type of errors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Optional<java.lang.Exception>exception()default java.lang.StringfullMessage()java.lang.Stringmessage()
-
-
-
Method Detail
-
message
@Parameter java.lang.String message()
- Returns:
- The error message
-
exception
@Parameter java.util.Optional<java.lang.Exception> exception()
- Returns:
- The exception raised, if any
-
fullMessage
@Lazy default java.lang.String fullMessage()
- Returns:
- A humanly-readable formatted error message
-
-