__construct() public method

Create a new SwiftException with $message.
public __construct ( string $message, integer $code, Exception $previous = null )
$message string
$code integer
$previous Exception
 /**
  * Create a new RfcComplianceException with $message.
  *
  * @param string $message
  */
 public function __construct($message)
 {
     parent::__construct($message);
 }
 /**
  * Create a new IoException with $message.
  *
  * @param string    $message
  * @param int       $code
  * @param Exception $previous
  */
 public function __construct($message, $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
 }