Class IllegalAlignmentCountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.tealeaf.javamarkdown.exceptions.IllegalAlignmentCountException
- All Implemented Interfaces:
Serializable
When thrown, indicates that the number of alignments passed into a table did not match the number of headers
- Since:
- 0.0.18
- Author:
- Thomas Kwashnak
- See Also:
-
Constructor Summary
ConstructorDescriptionIllegalAlignmentCountException
(int expected, int found) Creates a new IllegalAlignmentCountException with the expected count and the actual count -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalAlignmentCountException
public IllegalAlignmentCountException(int expected, int found) Creates a new IllegalAlignmentCountException with the expected count and the actual count
- Parameters:
expected
- Number of alignments expectedfound
- Number of alignments found- Since:
- 0.0.18
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
- Since:
- 0.0.18
-