public class BadInputException extends DatabaseException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
sMsgClassCannotHaveInstances
Message that indicates someone is trying to open an instance
of a class that cannot have instances.
|
static java.lang.String |
VERSION |
mLookUpRuleMessages| Constructor and Description |
|---|
BadInputException(ClipboardPage aPage,
java.lang.String aDescr)
Creates an bad input exception due to the attempt to
save an invalid page.
|
BadInputException(int aSeverity,
java.lang.String aMsg)
Creates an exception with a severity.
|
BadInputException(java.lang.String aMsg)
Creates an exception
|
BadInputException(java.lang.Throwable aCause,
java.lang.String aMsg)
Creates an exception
|
BadInputException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
Creates a bad input exception with a given severity, message name, and
with other information.
|
| Modifier and Type | Method and Description |
|---|---|
static BadInputException |
createBadSQLException(java.lang.Throwable aCause,
java.lang.String aBadSQL,
java.lang.String aParseError)
Creates an exception due to bad SQL.
|
static BadInputException |
createClassCannotHaveInstancesException(java.lang.String aClassName,
java.lang.String aDescr)
Creates an exception caused by an attempt to save or read an
instance belonging to a class that cannot have instances.
|
static BadInputException |
createGenericBadInputException(java.lang.String aDescr)
Creates an exception indicating there was a generic error
involving a bad parameter passed into a database method.
|
static BadInputException |
createShortcutException(ClipboardPage aShortcutPage,
java.lang.String aDescr)
Creates an exception due to operating on a shortcut page.
|
getSQL, setSQL, setSQLInsertsisLookUpRuleMessages, setLookUpRuleMessages, toStringpublic static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public static final java.lang.String sMsgClassCannotHaveInstances
public BadInputException(java.lang.Throwable aCause,
java.lang.String aMsgID,
java.lang.String[] aMsgInserts,
int aSeverity,
java.lang.String aSQL,
java.lang.String[] aSQLInserts)
aMsgID.aCause - the exception that caused this, or null if noneaMsgID - the message to reportaMsgInserts - the message inserts, or null if noneaSeverity - the severityaSQL - the SQL we were running when the problem occured, or null if
noneaSQLInserts - the inserts for the SQL we were running, or null if nonepublic BadInputException(java.lang.Throwable aCause,
java.lang.String aMsg)
aCause - the causeaMsg - the messagepublic BadInputException(java.lang.String aMsg)
aMsg - the messagepublic BadInputException(int aSeverity,
java.lang.String aMsg)
aSeverity - the severityaMsg - the messagepublic BadInputException(ClipboardPage aPage, java.lang.String aDescr)
aPage - aDescr - public static BadInputException createBadSQLException(java.lang.Throwable aCause, java.lang.String aBadSQL, java.lang.String aParseError)
aCause - the parse exceptionaBadSQL - the bad SQLaParseError - description of what went wrongpublic static BadInputException createShortcutException(ClipboardPage aShortcutPage, java.lang.String aDescr)
aShortcutPage - the shortcut pageaDescr - what we were doingpublic static BadInputException createClassCannotHaveInstancesException(java.lang.String aClassName, java.lang.String aDescr)
aClassName - name of the classaDescr - description of what was happening when the error occuredpublic static BadInputException createGenericBadInputException(java.lang.String aDescr)
aDescr - a message describing the problemCopyright © 2014 Pegasystems Inc. All Rights Reserved.