Skip to content

Instantly share code, notes, and snippets.

package com.gene.geneva.module.common.exception;
import com.gene.geneva.module.common.error.ErrorCode;
import java.util.List;
import java.util.Optional;
import java.util.function.Supplier;
import java.util.stream.Collectors;
public class PlatformExceptionUtils {
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import java.security.cert.X509Certificate;
import javax.net.ssl.SSLContext;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
package net.thumbtack.adtech.campaign.manager.api.services;
import org.springframework.stereotype.Service;
import java.math.BigInteger;
import java.util.List;
import java.util.Map;
import java.util.function.BiConsumer;
import java.util.stream.Collectors;
import java.util.stream.Stream;
package net.thumbtack.adtech.campaign.manager.api.converter;
import org.springframework.stereotype.Service;
import java.util.stream.Collectors;
import net.thumbtack.adtech.campaign.manager.api.response.dictonaries.HierarchyIdNameResponse;
import net.thumbtack.adtech.campaign.manager.domain.GoogleHierarchyTargetingEntity;
/**
package org.grakovne.mds.server.rest.converters;
import org.apache.commons.math3.util.Precision;
import org.grakovne.mds.server.domain.Author;
import org.grakovne.mds.server.domain.Story;
import org.grakovne.mds.server.domain.User;
import org.grakovne.mds.server.rest.responses.StoryResponse;
import org.grakovne.mds.server.services.BookmarkService;
import org.springframework.stereotype.Service;
package org.grakovne.mds.server.rest.converters;
import org.grakovne.mds.server.domain.User;
import org.grakovne.mds.server.rest.responses.ApiResponse;
import org.springframework.data.domain.Page;
import org.springframework.security.core.context.SecurityContextHolder;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
package org.grakovne.mds.server.rest.converters;
import org.grakovne.mds.server.domain.User;
import org.grakovne.mds.server.rest.responses.ApiResponse;
import org.springframework.data.domain.Page;
import org.springframework.security.core.context.SecurityContextHolder;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
package org.grakovne.mds.android.service;
import android.content.Intent;
import android.util.Log;
import org.grakovne.mds.android.common.PayloadNames;
import org.grakovne.mds.android.common.Receiver;
import org.grakovne.mds.android.network.domain.responses.Story;
import java.io.File;
package org.grakovne.mds.android.media;
import android.content.Context;
import org.grakovne.mds.android.common.ActionNames.Player;
import org.grakovne.mds.android.manager.BroadcastManager;
import java.io.IOException;
import static org.grakovne.mds.android.utils.NetworkUtils.findStoryUrl;