OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

[Contents][Index][Back][Next]

Class ErrInvalidPortException

[Figure]

 
public class ErrInvalidPortException
extends TP1ClientException
 

This is an exception class returned by TP1/Client/J. It indicates the following event:

If a setDchost method, openConnection method, or trnBegin method returned this exception:
The port parameter specification is invalid.

If an rpcCall method returned this exception:
  • If an RPC that uses a remote API function was executed, the dcrapport operand of the TP1/Client/J environment definition is not specified.
  • If an RPC that uses a scheduler direct function was executed, the dcscdport operand of the TP1/Client/J environment definition is not specified.

If a cltSend method or cltAssemSend method returned this exception:
The portnum parameter specification is invalid.

If a cltReceive method or cltAssemReceive method returned this exception:
This exception occurs when Y is specified in the dcsockopenatrcv operand of the TP1/Client/J environment definition, and the port specified in the dcrcvport operand is already in use. If N is specified for the dcsockopenatrcv operand, the rpcOpen method returns ErrFatalException.

Related items

TP1Client, TP1ClientException

Constructor

ErrInvalidPortException

public ErrInvalidPortException()

Creates an instance of ErrInvalidPortException without a detail message.