public class PLCException
extends java.lang.Exception
Constructor and Description |
---|
PLCException(java.lang.Exception exception)
Create this exception with its encapsulated exception.
|
PLCException(java.lang.String message)
Create this exception with a simple message.
|
PLCException(java.lang.String message,
int errorCode,
int errorSubCode)
Create this exception with a message code and subcode.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code .
|
int |
getErrorSubCode()
Returns the sub-error code.
|
java.lang.String |
getMessage()
Returns the message stored with this exception or the message from the sub-exception.
|
int |
getQuality()
Returns the quality of the data.
|
void |
setQuality(int quality)
Sets the quality of the data.
|
java.lang.String |
toString()
The to string method.
|
public PLCException(java.lang.Exception exception)
public PLCException(java.lang.String message)
public PLCException(java.lang.String message, int errorCode, int errorSubCode)
public int getErrorCode()
public int getErrorSubCode()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Throwable.getMessage()
public int getQuality()
public void setQuality(int quality)
public java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.