/extern/spongycastle/pkix/src/main/java/org/spongycastle/operator/RuntimeOperatorException.java

https://gitlab.com/vizilo/fdroidclient · Java · 24 lines · 19 code · 5 blank · 0 comment · 0 complexity · 51250ce6264051387f2d57bebdce5134 MD5 · raw file

  1. package org.spongycastle.operator;
  2. public class RuntimeOperatorException
  3. extends RuntimeException
  4. {
  5. private Throwable cause;
  6. public RuntimeOperatorException(String msg)
  7. {
  8. super(msg);
  9. }
  10. public RuntimeOperatorException(String msg, Throwable cause)
  11. {
  12. super(msg);
  13. this.cause = cause;
  14. }
  15. public Throwable getCause()
  16. {
  17. return cause;
  18. }
  19. }