public final class ExceptionMessenger extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExceptionMessenger |
getInstance() |
boolean |
send(Throwable throwable)
Envia um email ao admin.
|
boolean |
send(Throwable throwable,
String comment)
Envia um email ao admin.
|
boolean |
send(Throwable throwable,
String comment,
String[] additionalInfo)
Envia um email ao 'suporte'.
|
public static ExceptionMessenger getInstance()
public boolean send(Throwable throwable)
throwable - - um erro.public boolean send(Throwable throwable, String comment)
throwable - - um erro.comment - - comentario relacionado ao erro.public boolean send(Throwable throwable, String comment, String[] additionalInfo)
throwable - - um erro.comment - - comentario relacionado ao erro.additionalInfo - - lista de informações adicionais para serem
incluídas no email.Copyright © 2018. All rights reserved.