# Poco

# class RangeException

Library: Foundation
Package: Core
Header: Poco/Exception.h

## Inheritance

Direct Base Classes: LogicException

All Base Classes: Exception, LogicException, 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

### RangeException

RangeException(
int code = 0
);

### RangeException

RangeException(
const RangeException & exc
);

### RangeException

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

### RangeException

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

### RangeException

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

## Destructor

### ~RangeException

~RangeException() noexcept;

## Member Functions

### className

const char * className() const noexcept;

See also: Poco::LogicException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const noexcept;

See also: Poco::LogicException::name()

### operator =

RangeException & operator = (
const RangeException & exc
);

### rethrow

void rethrow() const;

See also: Poco::LogicException::rethrow()