# Poco

# class ApplicationException

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

## Inheritance

Direct Base Classes: Exception

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

### ApplicationException

ApplicationException(
int code = 0
);

### ApplicationException

ApplicationException(
const ApplicationException & exc
);

### ApplicationException

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

### ApplicationException

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

### ApplicationException

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

## Destructor

### ~ApplicationException

~ApplicationException();

## Member Functions

### className

const char * className() const;

See also: Poco::Exception::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const;

See also: Poco::Exception::name()

### operator =

ApplicationException & operator = (
const ApplicationException & exc
);

### rethrow

void rethrow() const;

See also: Poco::Exception::rethrow()