@Override
    protected void initializeCPointer() {
        assert this.cPointer != 0;
        final int r = ppaml_tracer_init_from_env(this.cPointer);
        switch (r) {
        case 0:
            break;
        case 1:
            throw new OTFManagerInitializationException();
        case 2:
            throw new OTFWriterInitializationException();
        case 3:
            throw new OTFWriterResolutionException();
        case 4:
            throw new OTFWriterProcessDefinitionException("main");
        case 5:
            throw new UndefinedTracerBasePathException();
        default:
            throw new UnexpectedReturnValueError(r);
        }
    }