Java 类net.minecraft.util.com.mojang.authlib.yggdrasil.ProfileNotFoundException 实例源码

项目:CraftBukkit    文件:PlayerDatFileConverter.java   
public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) {
    NameReferencingFileConverter.a().warn("Could not lookup user uuid for " + gameprofile.getName(), exception);
    if (exception instanceof ProfileNotFoundException) {
        String s = this.a(gameprofile);

        this.a(this.c, s, s);
    } else {
        throw new FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, (PredicateEmptyList) null);
    }
}
项目:Tweakkit-Server    文件:PlayerDatFileConverter.java   
public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) {
    NameReferencingFileConverter.a().warn("Could not lookup user uuid for " + gameprofile.getName(), exception);
    if (exception instanceof ProfileNotFoundException) {
        String s = this.a(gameprofile);

        this.a(this.c, s, s);
    } else {
        throw new FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, (PredicateEmptyList) null);
    }
}