|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
eteg.sinon.exception.SinonException
public class SinonException
Exceção levantada quando acontece algum erro durante a execução de um coletor
do Sinon. Provê métodos para a obtenção de informações sobre o contexto do
erro. Caso alguma mensagem descritiva do erro seja provida, ela pode ser
obtida atraves de getMessage.
Caso a origem do erro seja uma outra exceção, ela pode ser obtida
através de getCause().
| Constructor Summary | |
|---|---|
SinonException(java.lang.String message)
Construtor que apenas uma mensagem. |
|
SinonException(java.lang.String message,
CollectorExecutor executor)
Construtor que recebe uma mensagem e um Collector. |
|
SinonException(java.lang.String message,
java.lang.Throwable cause,
CollectorExecutor executor)
Construtor que recebe uma mensagem, uma exceção e um Collector. |
|
SinonException(java.lang.Throwable cause)
Construtor que recebe uma exceção que é a causa desta. |
|
| Method Summary | |
|---|---|
CollectorExecutor |
getCollectorExecutor()
Retorna o valor da propriedade collectorExecutor. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SinonException(java.lang.String message,
java.lang.Throwable cause,
CollectorExecutor executor)
Collector.
message - uma String descrevendo o erro.cause - o Throwable que causou o erro.executor - o CollectorExecutor
sendo executado no momento do erro.
public SinonException(java.lang.String message,
CollectorExecutor executor)
Collector.
message - uma String descrevendo o erro.executor - o CollectorExecutor
sendo executado no momento do erro.public SinonException(java.lang.String message)
message - uma String descrevendo o erro.public SinonException(java.lang.Throwable cause)
cause - um Throwable| Method Detail |
|---|
public CollectorExecutor getCollectorExecutor()
collectorExecutor.
collectorExecutor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||