|
||||||||||
| 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.argouml.model.UmlException
org.argouml.model.XmiException
public class XmiException
Exception for problems with XMI files.
| Constructor Summary | |
|---|---|
XmiException(java.lang.String message)
Construct an XmiException with the given message. |
|
XmiException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int line,
int column)
Create a new XmiException. |
|
XmiException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int line,
int column,
java.lang.Exception e)
Create a new XmiException with an embedded exception. |
|
XmiException(java.lang.String message,
java.lang.Throwable c)
Construct an exception with a message and a causing exception. |
|
XmiException(java.lang.Throwable c)
Construct an exception with a causing exception. |
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
The column number of the end of the text where the exception occurred. |
int |
getLineNumber()
The line number of the end of the text where the exception occurred. |
java.lang.String |
getPublicId()
Get the public identifier of the entity where the exception occurred. |
java.lang.String |
getSystemId()
Get the system identifier of the entity where the exception occurred. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 XmiException(java.lang.String message)
message - the message
public XmiException(java.lang.String message,
java.lang.Throwable c)
message - the messagec - the cause of the exceptionpublic XmiException(java.lang.Throwable c)
c - the cause of the exception
public XmiException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int line,
int column)
message - The error or warning message.publicId - The public identifier of the entity that generated
the error or warning.systemId - The system identifier of the entity that generated
the error or warning.line - The line number of the end of the text that
caused the error or warning.column - The column number of the end of the text that
cause the error or warning.
public XmiException(java.lang.String message,
java.lang.String publicId,
java.lang.String systemId,
int line,
int column,
java.lang.Exception e)
message - The error or warning message, or null to use the message
from the embedded exception.publicId - The public identifier of the entity that generated the
error or warning.systemId - The system identifier of the entity that generated the
error or warning.line - The line number of the end of the text that caused the
error or warning.column - The column number of the end of the text that cause
the error or warning.e - Another exception to embed in this one.| Method Detail |
|---|
public java.lang.String getPublicId()
public java.lang.String getSystemId()
If the system identifier is a URL, it will have been resolved fully.
public int getLineNumber()
The first line is line 1.
public int getColumnNumber()
The first column in a line is position 1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Cookbook |