Package com.evolveum.axiom.lang.spi
Class AxiomSyntaxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.evolveum.axiom.lang.spi.AxiomSyntaxException
-
- All Implemented Interfaces:
Serializable
public class AxiomSyntaxException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AxiomSyntaxException(@Nullable SourceLocation source, String message, @Nullable Throwable cause)
AxiomSyntaxException(SourceLocation source, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
check(boolean test, SourceLocation source, String format, Object... args)
String
getFormattedMessage()
Optional<SourceLocation>
getSource()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
AxiomSyntaxException
public AxiomSyntaxException(@Nullable @Nullable SourceLocation source, String message, @Nullable @Nullable Throwable cause)
-
AxiomSyntaxException
public AxiomSyntaxException(SourceLocation source, String message)
-
-
Method Detail
-
getSource
public final Optional<SourceLocation> getSource()
-
getFormattedMessage
public String getFormattedMessage()
-
check
public static void check(boolean test, SourceLocation source, String format, Object... args)
-
-