com.prosysopc.ua
Class ModelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.prosysopc.ua.ModelException
All Implemented Interfaces:
Serializable

public class ModelException
extends Exception

Exception while parsing UA Information Model from a NodeSet XML.

See Also:
Serialized Form

Constructor Summary
ModelException(List<String> errorList)
          Create a new ModelException with an errorList.
ModelException(String message)
           
ModelException(String msg, Exception e, int lineNumber)
           
ModelException(String message, Throwable cause)
           
ModelException(Throwable cause)
           
 
Method Summary
 List<String> getErrorList()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ModelException

public ModelException(List<String> errorList)
Create a new ModelException with an errorList.

Parameters:
errorList - list of errors encountered in model creation

ModelException

public ModelException(String message)
Parameters:
message -

ModelException

public ModelException(String msg,
                      Exception e,
                      int lineNumber)
Parameters:
msg -
e -
lineNumber -

ModelException

public ModelException(String message,
                      Throwable cause)
Parameters:
message -
cause -

ModelException

public ModelException(Throwable cause)
Parameters:
cause -
Method Detail

getErrorList

public List<String> getErrorList()
Returns:
the errorList

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2018. All rights reserved.