public class

ExceptionWithNoStacktrace

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.facebook.common.util.ExceptionWithNoStacktrace

Class Overview

Instantiate an exception with an empty stacktrace. This is more performant than instantiating a regular exception since it doesn't incur the cost of getting the stack trace.

Summary

Public Constructors
ExceptionWithNoStacktrace(String detailMessage)
Public Methods
synchronized Throwable fillInStackTrace()
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ExceptionWithNoStacktrace (String detailMessage)

Public Methods

public synchronized Throwable fillInStackTrace ()