# Poco::Net

# class WebSocketException

Library: Net
Package: NetCore
Header: Poco/Net/NetException.h

## Inheritance

Direct Base Classes: NetException

All Base Classes: Poco::Exception, Poco::IOException, NetException, Poco::RuntimeException, std::exception

## Member Summary

Member Functions: className, clone, name, operator =, rethrow

Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what

## Constructors

### WebSocketException

WebSocketException(
int code = 0
);

### WebSocketException

WebSocketException(
const WebSocketException & exc
);

### WebSocketException

WebSocketException(
const std::string & msg,
int code = 0
);

### WebSocketException

WebSocketException(
const std::string & msg,
const std::string & arg,
int code = 0
);

### WebSocketException

WebSocketException(
const std::string & msg,
const Poco::Exception & exc,
int code = 0
);

## Destructor

### ~WebSocketException

~WebSocketException() noexcept;

## Member Functions

### className

const char * className() const noexcept;

See also: Poco::Net::NetException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const noexcept;

See also: Poco::Net::NetException::name()

### operator =

WebSocketException & operator = (
const WebSocketException & exc
);

### rethrow

void rethrow() const;

See also: Poco::Net::NetException::rethrow()