br.gov.ans.tiss.exceptions
Class TissHashException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by br.gov.ans.tiss.exceptions.TissSchemaException
              extended by br.gov.ans.tiss.exceptions.TissHashException
All Implemented Interfaces:
java.io.Serializable

public class TissHashException
extends TissSchemaException

Exception que acusa erro de concordância entre o hash MD5 TISS calculado e o informado em uma mensagem.

See Also:
Serialized Form

Constructor Summary
TissHashException()
          Construtor vazio padrão.
 
Method Summary
 java.lang.String getLocalizedMessage()
          Override para método de Exception.
 java.lang.String getMessage()
          Override para método de Exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

TissHashException

public TissHashException()
Construtor vazio padrão.

Method Detail

getMessage

public java.lang.String getMessage()
Override para método de Exception. Retorna mensagem sobre erro no hash MD5.

Overrides:
getMessage in class TissSchemaException
Returns:
Mensagem indicativa de erro no hash MD5.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Override para método de Exception. Chama getMessage(), já que só há mensagens em português.

Overrides:
getLocalizedMessage in class TissSchemaException
Returns:
getMessage().