COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.common
Class SMLValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.cosmos.rm.validation.internal.common.SMLValidationException
All Implemented Interfaces:
java.io.Serializable

public class SMLValidationException
extends java.lang.Exception

An SMLValidationException is thrown when there is a error in validating an SML/SML-IF file. This exception will almost always wrap another exception as the cause.

See Also:
Serialized Form

Constructor Summary
SMLValidationException()
           
SMLValidationException(java.lang.Throwable t)
           
 
Method Summary
 int getLineNumber()
           
 void setLineNumber(int lineNumber)
           
 
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

SMLValidationException

public SMLValidationException()

SMLValidationException

public SMLValidationException(java.lang.Throwable t)
Method Detail

getLineNumber

public int getLineNumber()
Returns:
the lineNumber

setLineNumber

public void setLineNumber(int lineNumber)
Parameters:
lineNumber - the lineNumber to set

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification