public class DmdlSemanticException extends Exception
Constructor and Description |
---|
DmdlSemanticException(String message,
List<? extends Diagnostic> diagnostics)
Creates and returns a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Diagnostic> |
getDiagnostics()
Returns semantic diagnostics of current error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DmdlSemanticException(String message, List<? extends Diagnostic> diagnostics)
message
- the message of this errordiagnostics
- the raised diagnosticsIllegalArgumentException
- if some parameters were null
public List<Diagnostic> getDiagnostics()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.