org.argouml.model
Class XmiReferenceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.argouml.model.UmlException
              extended by org.argouml.model.XmiException
                  extended by org.argouml.model.XmiReferenceException
All Implemented Interfaces:
java.io.Serializable

public class XmiReferenceException
extends XmiException

Exception for external reference problems with XMI files.

See Also:
Serialized Form

Constructor Summary
XmiReferenceException(java.lang.String message)
          Construct an XmiReferenceException with the given message.
XmiReferenceException(java.lang.String message, java.lang.String publicId, java.lang.String systemId, int lineNumber, int columnNumber)
          Create a new XmiReferenceException.
XmiReferenceException(java.lang.String message, java.lang.String publicId, java.lang.String systemId, int lineNumber, int columnNumber, java.lang.Exception e)
          Create a new XmiReferenceException with an embedded exception.
XmiReferenceException(java.lang.String href, java.lang.Throwable cause)
          Construct an XmiReferenceException for the given reference
XmiReferenceException(java.lang.Throwable c)
          Construct an exception with a causing exception.
 
Method Summary
 java.lang.String getReference()
           
 
Methods inherited from class org.argouml.model.XmiException
getColumnNumber, getLineNumber, getPublicId, getSystemId
 
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

XmiReferenceException

public XmiReferenceException(java.lang.String message)
Construct an XmiReferenceException with the given message.

Parameters:
message - the message

XmiReferenceException

public XmiReferenceException(java.lang.String href,
                             java.lang.Throwable cause)
Construct an XmiReferenceException for the given reference

Parameters:
href - the reference that caused the error
cause - the nested exception if available

XmiReferenceException

public XmiReferenceException(java.lang.Throwable c)
Construct an exception with a causing exception.

Parameters:
c - the cause of the exception

XmiReferenceException

public XmiReferenceException(java.lang.String message,
                             java.lang.String publicId,
                             java.lang.String systemId,
                             int lineNumber,
                             int columnNumber)
Create a new XmiReferenceException.

Parameters:
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.
lineNumber - The line number of the end of the text that caused the error or warning.
columnNumber - The column number of the end of the text that cause the error or warning.

XmiReferenceException

public XmiReferenceException(java.lang.String message,
                             java.lang.String publicId,
                             java.lang.String systemId,
                             int lineNumber,
                             int columnNumber,
                             java.lang.Exception e)
Create a new XmiReferenceException with an embedded exception.

Parameters:
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.
lineNumber - The line number of the end of the text that caused the error or warning.
columnNumber - 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

getReference

public java.lang.String getReference()
Returns:
the external reference (href) that caused the exception


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook