Class IllegalMethodAccessException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalMethodAccessException
    extends DlmsAccessException
    This exception signals that a COSEM method has been accessed in a wrong way.
    See Also:
    CosemMethod, Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MethodResultCode getMethodResultCode()
      Get the access result code of the illegal method 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

      • IllegalMethodAccessException

        public IllegalMethodAccessException​(MethodResultCode methodResultCode)
        Construct a new Exception.
        Parameters:
        methodResultCode - the reason of the exception.
    • Method Detail

      • getMethodResultCode

        public MethodResultCode getMethodResultCode()
        Get the access result code of the illegal method access.
        Returns:
        the access result code.