Exception Class

class OvershiftException

public class OvershiftException <: Exception {
    public init()
    public init(message: String)
}

Description: Specifies an exception thrown when the number of shifted bits exceeds the number of operand bits in a shift operation.

Parent Type:

init()

public init()

Description: Creates an OvershiftException instance.

init(String)

public init(message: String)

Description: Creates an OvershiftException instance containing an exception message.

Parameters:

  • message: String: exception information

class UndershiftException

public class UndershiftException <: Exception {
    public init()
    public init(message: String)
}

Description: Specifies an exception thrown when the number of shifted bits is less than 0 in a shift operation.

Parent Type:

init()

public init()

Description: Creates an UndershiftException instance.

init(String)

public init(message: String)

Description: Creates an UndershiftException instance containing an exception message.

Parameters:

  • message: String: exception information