- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.refcodes.exception.AbstractIOException
-
- org.refcodes.serial.SerialException
-
- org.refcodes.serial.NoSuchPortExcpetion
-
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
,org.refcodes.mixin.AliasAccessor
public class NoSuchPortExcpetion extends SerialException implements org.refcodes.mixin.AliasAccessor
Thrown in case there is no such port found.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
-
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
-
Constructor Summary
Constructors Constructor Description NoSuchPortExcpetion(String aAlias, String message)
NoSuchPortExcpetion(String aAlias, String aMessage, String aErrorCode)
NoSuchPortExcpetion(String aAlias, String message, Throwable cause)
NoSuchPortExcpetion(String aAlias, String aMessage, Throwable aCause, String aErrorCode)
NoSuchPortExcpetion(String aAlias, Throwable cause)
NoSuchPortExcpetion(String aAlias, Throwable aCause, String aErrorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchPortExcpetion
public NoSuchPortExcpetion(String aAlias, String aMessage, String aErrorCode)
- Parameters:
aAlias
- The alias of the port not detectable.
-
NoSuchPortExcpetion
public NoSuchPortExcpetion(String aAlias, String aMessage, Throwable aCause, String aErrorCode)
- Parameters:
aAlias
- The alias of the port not detectable.
-
NoSuchPortExcpetion
public NoSuchPortExcpetion(String aAlias, String message, Throwable cause)
- Parameters:
aAlias
- The alias of the port not detectable.
-
NoSuchPortExcpetion
public NoSuchPortExcpetion(String aAlias, String message)
- Parameters:
aAlias
- The alias of the port not detectable.
-
NoSuchPortExcpetion
public NoSuchPortExcpetion(String aAlias, Throwable aCause, String aErrorCode)
- Parameters:
aAlias
- The alias of the port not detectable.
-
-
Method Detail
-
getAlias
public String getAlias()
- Specified by:
getAlias
in interfaceorg.refcodes.mixin.AliasAccessor
-
-