fixed exlog(), add exthrow().