# Poco::JSON

# class JSONException

Library: JSON
Package: JSON
Header: Poco/JSON/JSONException.h

## Inheritance

Direct Base Classes: Poco::Exception

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

### JSONException

JSONException(
int code = 0
);

### JSONException

JSONException(
const JSONException & exc
);

### JSONException

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

### JSONException

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

### JSONException

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

## Destructor

### ~JSONException

~JSONException();

## 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 =

JSONException & operator = (
const JSONException & exc
);

### rethrow

void rethrow() const;

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