# Poco

# class FileReadOnlyException

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

## Inheritance

Direct Base Classes: FileException

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

### FileReadOnlyException

FileReadOnlyException(
int code = 0
);

### FileReadOnlyException

FileReadOnlyException(
const FileReadOnlyException & exc
);

### FileReadOnlyException

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

### FileReadOnlyException

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

### FileReadOnlyException

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

## Destructor

### ~FileReadOnlyException

~FileReadOnlyException();

## Member Functions

### className

const char * className() const;

See also: Poco::FileException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const;

See also: Poco::FileException::name()

### operator =

FileReadOnlyException & operator = (
const FileReadOnlyException & exc
);

### rethrow

void rethrow() const;

See also: Poco::FileException::rethrow()