com.togethersoft.openapi.sci
Class SciGenericFactoryException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.togethersoft.openapi.sci.SciGenericFactoryException
- public class SciGenericFactoryException
- extends Exception
This exception is thrown by the SciGenericFactory to indicate that
its methods can't create a new object.
- Author:
- TogetherSoft
- Since: Together 3.0
| Method Summary |
String | getMessage() Returns a message associated with this exception. |
int | getOffset() Returns an integer number indicating the position in the source code framgent where
the exception arose. |
String | getSourceText() Returns a string containing the part of the source code that caused this exception. |
String | toString() Returns a string describing this exception |
| Methods inherited from class java.lang.Throwable |
getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, fillInStackTrace |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize |
myMessage
private String myMessage
myOffset
private int myOffset
mySourceText
private String mySourceText
SciGenericFactoryException
public SciGenericFactoryException(String sourceText, int offset, String message)
getMessage
public String getMessage()
- Returns a message associated with this exception.
- Returns: a message associated with this exception
getOffset
public int getOffset()
- Returns an integer number indicating the position in the source code framgent where
the exception arose.
This position corresponds to the string returned by the getSourceText method.- See Also:
- getSourceText()
getSourceText
public String getSourceText()
- Returns a string containing the part of the source code that caused this exception.
It is possible to get a position in that string where this exception arose
using the getOffset method.- Returns: a string containing the part of the source code that caused this exception
- See Also:
- getOffset()
toString
public String toString()
- Returns a string describing this exception
- Returns: a string describing this exception
to Class java.lang.String
to Class java.lang.String