public class PatternDefineException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
ERROR_TYPE_CODESPACE_INSUFFICIENT
The error type of code space is not enough
|
static java.lang.Integer |
ERROR_TYPE_DOUBLE_CLOSE
The error type of double close of the pattern cell
|
static java.lang.Integer |
ERROR_TYPE_DOUBLE_OPEN
The error type of double open of the pattern cell
|
static java.lang.Integer |
ERROR_TYPE_INVALID_MASK
The error type of invalid code
|
Constructor and Description |
---|
PatternDefineException(java.lang.Integer typeIn,
java.lang.String patternIn,
java.lang.String message)
Constructor
|
PatternDefineException(java.lang.Integer typeIn,
java.lang.String patternIn,
java.lang.String message,
java.lang.Throwable cause)
Constructor
|
PatternDefineException(java.lang.Integer typeIn,
java.lang.String message,
java.lang.Throwable cause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPattern()
This method gets the pattern string
|
java.lang.Integer |
getType()
This method gets the error type
|
public static final java.lang.Integer ERROR_TYPE_DOUBLE_CLOSE
public static final java.lang.Integer ERROR_TYPE_DOUBLE_OPEN
public static final java.lang.Integer ERROR_TYPE_INVALID_MASK
public static final java.lang.Integer ERROR_TYPE_CODESPACE_INSUFFICIENT
public PatternDefineException(java.lang.Integer typeIn, java.lang.String message, java.lang.Throwable cause)
typeIn
- The error typemessage
- The error messagecause
- The root cause exceptionpublic PatternDefineException(java.lang.Integer typeIn, java.lang.String patternIn, java.lang.String message)
typeIn
- The error typepatternIn
- The pattern that has the errormessage
- The error messagepublic PatternDefineException(java.lang.Integer typeIn, java.lang.String patternIn, java.lang.String message, java.lang.Throwable cause)
typeIn
- The error typepatternIn
- The pattern that has the errormessage
- The error messagecause
- The root cause exception