Package org.openmuc.jdlms
Class IllegalAttributeAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openmuc.jdlms.DlmsAccessException
-
- org.openmuc.jdlms.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
-
-
Constructor Summary
Constructors Constructor Description IllegalAttributeAccessException(AccessResultCode accessResultCode)
Construct a new Exception.IllegalAttributeAccessException(AccessResultCode accessResultCode, java.lang.Throwable cause)
Construct a new Exception.
-
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.
-
-
-
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.
-
-