Class IllegalAttributeAccessException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalAttributeAccessException
    extends DlmsAccessException
    This exception signals that a COSEM attribute has been accessed in a incorrect way.
    See Also:
    CosemAttribute, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AccessResultCode getAccessResultCode()
      Get the access result code of the illegal attribute access.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • IllegalAttributeAccessException

        public IllegalAttributeAccessException​(AccessResultCode accessResultCode)
        Construct a new Exception.
        Parameters:
        accessResultCode - the reason of the exception.
      • IllegalAttributeAccessException

        public IllegalAttributeAccessException​(AccessResultCode accessResultCode,
                                               java.lang.Throwable cause)
        Construct a new Exception.
        Parameters:
        accessResultCode - the reason of the exception.
        cause - the cause.
    • Method Detail

      • getAccessResultCode

        public AccessResultCode getAccessResultCode()
        Get the access result code of the illegal attribute access.
        Returns:
        the access result code.