|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
tuwien.auto.calimero.exception.KNXException
tuwien.auto.calimero.serial.KNXPortClosedException
public class KNXPortClosedException
Thrown to indicate illegal access to a closed serial port.
Constructor Summary | |
---|---|
KNXPortClosedException()
Constructs a new KNXPortClosedException without a detail
message. |
|
KNXPortClosedException(java.lang.String s)
Constructs a new KNXPortClosedException with the specified
detail message. |
|
KNXPortClosedException(java.lang.String s,
java.lang.String portID)
Constructs a new KNXPortClosedException with the specified
detail message and the serial port identifier. |
Method Summary | |
---|---|
java.lang.String |
getPortID()
Returns the serial port identifier supplied with this exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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 |
---|
public KNXPortClosedException()
KNXPortClosedException
without a detail
message.
public KNXPortClosedException(java.lang.String s)
KNXPortClosedException
with the specified
detail message.
s
- the detail messagepublic KNXPortClosedException(java.lang.String s, java.lang.String portID)
KNXPortClosedException
with the specified
detail message and the serial port identifier.
s
- the detail messageportID
- serial port identifier of the closed portMethod Detail |
---|
public final java.lang.String getPortID()
null
if no port ID specified
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |