nope--it is actually a mental illness. it's classified in the DSM IV.

http://www.webmd.com/sex-relationships/features/explaining-pedophilia

and the fact that it is, in fact, a mental illness doesn't mean that pedophiles who act on their urges are blameless--one may have the unnatural urge to have a sexual relationship with a minor, but one doesn't have to act on it.

it works the same way as other mental illnesses: a sociopath may not understand human emotion as others do, but they don't have to commit murder.