Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


The goal of this document is to define best practices for catching and throwing exceptions in the CDAP code base. Much of this will follow standard Java best practices.

Catching Exceptions

Avoid Log and Rethrow

Avoid Throwables.propagate()

Be careful with catch(Exception e)

InterruptedException

Throwing Exceptions

Checked or Unchecked

IllegalArgumentException

IllegalStateException

RetryableException

Messages

  • No labels