@ThriftStruct public class TApplicationException extends TException
| Modifier and Type | Class and Description |
|---|---|
static class |
TApplicationException.Type |
| Constructor and Description |
|---|
TApplicationException() |
TApplicationException(int typeValue,
String message) |
TApplicationException(TApplicationException.Type type,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
Optional<TApplicationException.Type> |
getType() |
int |
getTypeValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TApplicationException()
public TApplicationException(TApplicationException.Type type, String message)
@ThriftConstructor public TApplicationException(int typeValue, String message)
@ThriftField(value=1) public String getMessage()
getMessage in class Throwable@ThriftField(value=2) public int getTypeValue()
public Optional<TApplicationException.Type> getType()
Copyright © 2012–2021. All rights reserved.