|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.pega.pegarules.pub.PRException
com.pega.pegarules.pub.database.DatabaseException
com.pega.pegarules.pub.database.BadInputException
public class BadInputException
Indicates that an input to a database method is invalid.
Field Summary | |
---|---|
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
|
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.pega.pegarules.pub.database.DatabaseException |
---|
getSQL, setSQL, setSQLInserts |
Methods inherited from class com.pega.pegarules.pub.PRException |
---|
toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public static final java.lang.String sMsgClassCannotHaveInstances
Constructor Detail |
---|
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
- Method Detail |
---|
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 wrong
public static BadInputException createShortcutException(ClipboardPage aShortcutPage, java.lang.String aDescr)
aShortcutPage
- the shortcut pageaDescr
- what we were doing
public static BadInputException createClassCannotHaveInstancesException(java.lang.String aClassName, java.lang.String aDescr)
aClassName
- name of the classaDescr
- description of what was happening when the error occured
public static BadInputException createGenericBadInputException(java.lang.String aDescr)
aDescr
- a message describing the problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |