|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.brains2b.squeler.ddl.SquelerDDLException
Exception for SquelerDDL
Overwrites Exception to store information on the type the exception occured on and the name of the object to be created.
set indicators {type} or {name} in the message text to have it replaced by the set objectType or objectName respectively.
Future version will support other then English messages
Constructor Summary | |
SquelerDDLException(java.lang.String objectType,
java.lang.String objectName,
java.lang.String message)
Constructor for SquelerException. |
Method Summary | |
java.lang.String |
getLocalizedMessage()
gets the Message with indicators replaced with their values. |
java.lang.String |
getMessage()
gets the Message with indicators replaced with their values. |
java.lang.String |
getObjectName()
gets the name of the object that could not be created |
java.lang.String |
getObjectType()
gets a String representation of the type of object that could not be created. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SquelerDDLException(java.lang.String objectType, java.lang.String objectName, java.lang.String message)
objectType
- String representation of the type of objectobjectName
- String, the name of the objectmessage
- String, A message either with or without indicators.Method Detail |
public java.lang.String getMessage()
Throwable.getMessage()
public java.lang.String getLocalizedMessage()
Note:No localization defined yet, just calls getMessage()
Throwable.getLocalizedMessage()
public java.lang.String getObjectName()
public java.lang.String getObjectType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |